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/ui
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
..
data Input/Device: Refactor Gyro events handling (#9935) 1 year ago
elements Input/Device: Refactor Gyro events handling (#9935) 1 year ago
message Calibre: Log errors on wireless connection failures (#9914) 1 year ago
network Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 1 year ago
plugin Clarify our OOP semantics across the codebase (#9586) 2 years ago
widget TouchMenu: tweak menu search (#9926) 1 year ago
bidi.lua Bidi: keep invert() generic, handle settings in ReaderView (#8876) 2 years ago
downloadmgr.lua CloudStorage: remove cloudmgr (#9532) 2 years ago
event.lua Cleanup various varargs shenanigans (#9624) 2 years ago
font.lua UI font fallbacks: use bold fonts if present for bold (#9621) 2 years ago
geometry.lua ImageViewer: Followup to #9529 (#9544) 2 years ago
gesturerange.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2 years ago
hook_container.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
language.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 1 year ago
menusorter.lua [fix] MenuSorter: use orderedPairs for orphans (#6403) 4 years ago
otamanager.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
quickstart.lua Quick start guide: fix links to images (#8072) 3 years ago
renderimage.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
rendertext.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
screensaver.lua Input/Device: Refactor Gyro events handling (#9935) 1 year ago
size.lua [RFC] Pagination UI shenanigans (#7335) 3 years ago
time.lua time: Fix another subtle FP issue in split_s_us 2 years ago
translator.lua Misc: Unify error logging on network errors (#9523) 2 years ago
trapper.lua Cleanup various varargs shenanigans (#9624) 2 years ago
uimanager.lua Startup: Unbreak last_file when the file is missing 1 year ago
wikipedia.lua Logger: Use serpent instead of dump (#9588) 2 years ago