Commit Graph
16 Commits
Author SHA1 Message Date
Frans de Jonge fa6b3cde8f [SDL,plugin/hotkeys] Process gamepad events (#15449)
Gives Hotkeys the ability to configure gamepads, at least to a degree. Advanced users might wish to use a shoulder button or a trigger as a modifier like in Tony Hawk or Devil May Cry. But in that case I suggest they might be advanced enough to make a follow-up PR as well. It's out of scope for this one anyway.

Things like deadzones might prefer to be independently configurable in the future, but then again it's a reader app.

Depends on <https://github.com/koreader/koreader-base/pull/2376>.
2026-06-06 20:56:55 +02:00
Commodore64user 952ebafe2d KeySelection: add new event handlers and call startIndicator from keyselection instead of readerui 2026-05-27 14:21:26 +02:00
Commodore64user 41c562c4c4 KeySelection: move text selection from readerhighlight to readerkeyselection 2026-05-27 14:21:26 +02:00
David 1e0e859ba8 [Hotkeys] add single-key shortcuts (#14867) 2026-04-28 15:09:12 +01:00
David 7de4f4c6ef [Hotkeys] correct function call to stop crosshairs (#15009) 2026-02-19 15:33:02 +00:00
David 09982fe6cb NT: stop text selection before any reflow action occurs (#14949)
* refactor onStopHighlightIndicator so it returns early

* stop text selection when opening menus or triggering hotkeys

* use self.ui.highlight (naturally)

* remove duplicated setDirty
2026-02-16 14:23:02 +00:00
David 92effcf9fb Replace checkboxes with radio buttons where appropriate (#14431) 2025-10-14 22:53:47 +02:00
hius07 29bbc84de2 Touchmenu: fix menu refreshing on check (#13996) 2025-07-01 21:43:51 +03:00
David 765e1e37ba [Hotkeys] bug fix: don't override readerfont when reading pdf/djvu files (#13896)
Reported https://github.com/koreader/koreader/issues/13895#issuecomment-2923450941
2025-05-31 10:19:53 +02:00
hius07 178bb823f0 Dispatcher: update action name or value (#13831) 2025-05-22 17:57:36 +03:00
hius07 afb33e8518 Key press handlers to show upper menu (#13511) 2025-04-06 12:47:00 +03:00
David 901b1b5430 [Hotkeys] override self.ui.fonts key_events (#13257)
* Removed [now] unnecessary conditions when removing actions for hotkeys in the `HotKeys:genMenu` function. No longer needed as of #13227

* Added code to reset key events for the overlooked `font` UI component in the `HotKeys:overrideConflictingKeyEvents` function.
2025-02-14 17:23:34 +01:00
David 8e886f5631 [Hotkeys] refactor hotkey list and update callbacks (#13219)
Cf.  #13078
2025-02-07 13:19:22 +01:00
Frans de Jonge 6792bb0a06 [plugin] Gestures, Hotkeys: attempt to work around corrupted gestures file (#13054)
See #13009 for details.

LuaSettings attempts to read a backup if the main doesn't work. If that doesn't work it returns an empty `data` table. But gestures expects there to be defaults inside.
2025-01-13 08:31:06 +01:00
David 8f1461316c [HotKeys] Add a 'type to search' setting to hasKeyboard devices (#12860) 2024-12-12 22:23:49 +01:00
David f5921eec2a [KOPlugin] Hotkeys, add custom keyboard shortcuts (#12484)
Fix #7308, fix #12336, fix #12744.
2024-12-03 21:04:47 +01:00