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/device
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
..
android Input/Device: Refactor Gyro events handling (#9935) 1 year ago
cervantes Input/Device: Refactor Gyro events handling (#9935) 1 year ago
dummy Clarify our OOP semantics across the codebase (#9586) 2 years ago
generic Input/Device: Refactor Gyro events handling (#9935) 1 year ago
kindle Input/Device: Refactor Gyro events handling (#9935) 1 year ago
kobo Input/Device: Refactor Gyro events handling (#9935) 1 year ago
pocketbook Input/Device: Refactor Gyro events handling (#9935) 1 year ago
remarkable Input/Device: Refactor Gyro events handling (#9935) 1 year ago
sdl Input/Device: Refactor Gyro events handling (#9935) 1 year ago
sony-prstux Input/Device: Refactor Gyro events handling (#9935) 1 year ago
devicelistener.lua Input/Device: Refactor Gyro events handling (#9935) 1 year ago
gesturedetector.lua Input/Device: Refactor Gyro events handling (#9935) 1 year ago
input.lua Input/Device: Refactor Gyro events handling (#9935) 1 year ago
key.lua InputContainer: Fall cleanup ;). 2 years ago
sysfs_light.lua Kobo: Always use open/write/close for sysfs writes (#9635) 2 years ago
thirdparty.lua Revert "Hyphenation: add custom hyphenation rules (#7746)" (#7785) 3 years ago
wakeupmgr.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago