2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/frontend/apps/filemanager
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
..
lib Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +02:00
filemanager.lua Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
filemanagerbookinfo.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
filemanagercollection.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
filemanagerconverter.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2022-09-28 01:10:50 +02:00
filemanagerfilesearcher.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
filemanagerhistory.lua History: remember status filter, show filtered count in title (#9822) 2022-12-02 16:56:00 +01:00
filemanagermenu.lua TouchMenu: tweak menu search (#9926) 2022-12-18 01:25:41 +01:00
filemanagersetdefaults.lua MultiDialog: Fix an extremely nasty API misuse 2022-10-06 19:28:26 +02:00
filemanagershortcuts.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
filemanagerutil.lua Filemanagerutil: let abbreviate manage extra slash (#9785) 2022-11-14 02:20:26 +01:00