2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/frontend/device/kindle
Frans de Jonge 8f2bd5420d
Introduce Device:useDPadAsActionKeys() (#11900)
1. Non-Kindle-specific `hasFiveWay` behavior is changed to `hasDPad and useDPadAsActionKeys`. For now they remain Kindle-specific in practice, unless one sets `useDPadAsActionKeys = yes` in a user patch.
2. With that disambiguation out of the way, `hasFiveWay` itself is further disambiguated into `hasScreenKB` and `hasSymKey`, as per the actual property being used, rather than something that tends to correlate with it. (It needn't be Kindle-specific per se, but non-Kindle devices have equivalent shortcuts with for example `Shift`.)
  Running the emulator with `DISABLE_TOUCH=1` will set `hasSymKey = yes`, which can be tested with right shift.

Closes #11887.
2024-05-26 21:25:54 +02:00
..
device.lua Introduce Device:useDPadAsActionKeys() (#11900) 2024-05-26 21:25:54 +02:00
event_map_keyboard.lua Kindle Legacy: Cleanup key mappings 2021-04-18 01:03:33 +02:00
event_map_kindle4.lua Kindle Legacy: Cleanup key mappings 2021-04-18 01:03:33 +02:00
keyboard_layout.lua Kindle Legacy: Cleanup key mappings 2021-04-18 01:03:33 +02:00
mockrtc.lua Kindle: enable WakeupMgr & RTC support 2022-07-04 22:46:13 -04:00
powerd.lua Kindle: Log the args from WakeupFromSuspend & ReadyToSuspend 2024-01-15 04:29:09 +01:00