2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/frontend/ui/elements
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
..
avoid_flashing_ui.lua
common_exit_menu_table.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
common_info_menu_table.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2022-09-28 01:10:50 +02:00
common_settings_menu_table.lua TouchMenu: Search menu to search the menu (#9876) 2022-12-06 22:02:21 +01:00
file_ext_assoc.lua
filemanager_menu_order.lua TouchMenu: Search menu to search the menu (#9876) 2022-12-06 22:02:21 +01:00
flash_keyboard.lua LuaSettings: Add a method to initialize a setting properly (#7371) 2021-03-06 22:44:18 +01:00
flash_ui.lua
font_settings.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
font_ui_fallbacks.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
font-test-sample-default.template
mass_storage.lua USBMS: Add a human-readable log message when entering USBMS 2022-10-29 22:55:20 +02:00
menu_activate.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
menu_keyboard_layout.lua Keyboards/Menu: Lazy-load the layout-specific menu (#9584) 2022-10-04 19:19:03 +02:00
page_overlap.lua TouchMenu: use radio buttons for single choice menu items (#8757) 2022-02-01 20:56:28 +01:00
page_turns.lua Page turns: add backward tap zone width setting (#9772) 2022-11-12 08:40:31 +02:00
reader_menu_order.lua TouchMenu: Search menu to search the menu (#9876) 2022-12-06 22:02:21 +01:00
refresh_menu_table.lua Refresh menu table: more remove unused 2021-09-13 19:32:19 +02:00
screen_color_menu_table.lua
screen_disable_double_tap_table.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
screen_dpi_menu_table.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00
screen_eink_opt_menu_table.lua
screen_notification_menu_table.lua Notifications menu: remove "No notifications" (#7736) 2021-05-22 23:47:55 +02:00
screen_rotation_menu_table.lua Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
screensaver_menu.lua Screensaver: add option to require a gesture after resume (#9316) 2022-07-11 13:50:28 +02:00
timeout_android.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2022-10-10 22:21:27 +02:00
waveform_level.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2022-12-03 21:29:13 +01:00