Bug Fix: DPad conflict on Kindle Keyboard (#12341)

* fix conflicting panning and content selection

* accurate keyboard info message
This commit is contained in:
David
2024-08-13 21:54:08 +01:00
committed by GitHub
parent 27e2efcbd2
commit 3450aaba99
2 changed files with 9 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ end
function ReaderPanning:onGesture() end
function ReaderPanning:registerKeyEvents()
if Device:hasKeyboard() then
if Device:hasKeyboard() and Device:hasDPad() and not Device:useDPadAsActionKeys() then
self.key_events = {
-- these will all generate the same event, just with different arguments
MoveUp = {