You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/apps/reader/modules
NiLuJe 788ccac561
Input/Device: Refactor Gyro events handling (#9935)
* Get rid of the `canToggleGSensor` Device cap, it's now mandatory for `hasGSensor` devices. (This means Kindles can now toggle the gyro, fix #9136).
* This also means that `Device:toggleGSensor` is now implemented by `Generic`.
* Update the Screen & Gyro rotation constants to be clearer (c.f., https://github.com/koreader/koreader-base/pull/1568) (/!\ This might conceivably break some `rotation_map` user-patches).
* Input: Move the platform-specific gyro handling to Device implementations, and let Input only handle a single, custom protocol (`EV_MSC:MSC_GYRO`).
* Input: Refine the `rotation_map` disable method implemented in 43b021d37c. Instead of directly poking at the internal field, use a new method, `disableRotationMap` (/!\ Again, this might break some `rotation_map` user-patches).
* Input: Minor tweaks to event adjust hooks to make them more modular, allowing the Kobo implementation to build and use a single composite hook. API compatibility maintained with wrappers.
1 year ago
..
readeractivityindicator.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
readerback.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerbookmark.lua Statistics: show correct number of notes in a book (#9928) 1 year ago
readerconfig.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readercoptlistener.lua [StatusBar] Allow status bars to be repainted if they are not covered (#9768) 2 years ago
readercropping.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerdevicestatus.lua [StatusBar] Allow status bars to be repainted if they are not covered (#9768) 2 years ago
readerdictionary.lua DictQuickLookup: The window_list array needs to be a static class member 2 years ago
readerdogear.lua Dispatcher: avoid multiple cre rerenderings when many settings changed (#9651) 2 years ago
readerflipping.lua ReaderHighlight: new Select mode icon (#9869) 1 year ago
readerfont.lua TouchMenu: tweak menu search (#9926) 1 year ago
readerfooter.lua Footer: some menu items rewording (#9915) 1 year ago
readergoto.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerhighlight.lua Statistics: show correct number of notes in a book (#9928) 1 year ago
readerhinting.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerkoptlistener.lua readerkoptlistener: simplify zoom mode validation 2 years ago
readerlink.lua ReaderLink: allow buttons to be added to the External link dialog (#9746) 1 year ago
readermenu.lua TouchMenu: tweak menu search (#9926) 1 year ago
readerpagemap.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerpaging.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerpanning.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerrolling.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerrotation.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerscrolling.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
readersearch.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerstatus.lua Reader: add open next file in folder to Dispatcher (#9916) 1 year ago
readerstyletweak.lua Reader style tweaks: register in Dispatcher manually (#9816) 2 years ago
readerthumbnail.lua ReaderHighlight: pdf multi-page highlights (#9850) 1 year ago
readertoc.lua Fix page stats messed up after rerendering (#9775) 2 years ago
readertypeset.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readertypography.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readeruserhyph.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerview.lua Input/Device: Refactor Gyro events handling (#9935) 1 year ago
readerwikipedia.lua DictQuickLookup: The window_list array needs to be a static class member 2 years ago
readerzooming.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago