2
0
mirror of https://github.com/koreader/koreader synced 2024-11-04 12:00:25 +00:00
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.
2022-12-21 15:50:39 +01:00
..
data Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
elements Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
message Calibre: Log errors on wireless connection failures (#9914) 2022-12-17 22:37:23 +01:00
network Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
plugin Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
widget TouchMenu: tweak menu search (#9926) 2022-12-18 01:25:41 +01:00
bidi.lua Bidi: keep invert() generic, handle settings in ReaderView (#8876) 2022-03-08 21:27:11 +01:00
downloadmgr.lua CloudStorage: remove cloudmgr (#9532) 2022-09-20 11:54:57 +02:00
event.lua Cleanup various varargs shenanigans (#9624) 2022-10-12 19:59:48 +02:00
font.lua UI font fallbacks: use bold fonts if present for bold (#9621) 2022-10-25 12:18:46 +02:00
geometry.lua ImageViewer: Followup to #9529 (#9544) 2022-09-21 23:26:22 +02:00
gesturerange.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2022-05-05 21:00:22 +02:00
hook_container.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
language.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
menusorter.lua [fix] MenuSorter: use orderedPairs for orphans (#6403) 2020-07-20 20:58:01 +02:00
otamanager.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2022-10-10 22:21:27 +02:00
quickstart.lua Quick start guide: fix links to images (#8072) 2021-08-14 22:53:46 +02:00
renderimage.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2022-09-28 01:10:50 +02:00
rendertext.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
screensaver.lua Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
size.lua [RFC] Pagination UI shenanigans (#7335) 2021-02-25 05:15:23 +01:00
time.lua time: Fix another subtle FP issue in split_s_us 2022-10-25 01:47:01 +02:00
translator.lua Misc: Unify error logging on network errors (#9523) 2022-09-17 00:08:00 +02:00
trapper.lua Cleanup various varargs shenanigans (#9624) 2022-10-12 19:59:48 +02:00
uimanager.lua Startup: Unbreak last_file when the file is missing 2022-12-13 00:17:25 +01:00
wikipedia.lua Logger: Use serpent instead of dump (#9588) 2022-10-06 02:21:03 +02:00