View Single Post
Old 12-28-2012, 07:38 PM   #1
Geremia
Connoisseur
Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.Geremia shines like a glazed doughnut.
 
Posts: 67
Karma: 8778
Join Date: Oct 2012
Device: Calibre
mapping non-standard key bindings to standard ones

eBookDroid is an excellent PDF and DjVu reader, but unfortunately it doesn't support non-standard key bindings, so I can't use the Nook Simple Touch (NST) buttons to turn pages because the NST's key bindings in /system/usr/keylayout/TWL4030_Keypad.kl are:
Code:
key 407   RIGHT_NEXTPAGE
key 412   LEFT_NEXTPAGE
key 139   LEFT_PREVPAGE
key 158   RIGHT_PREVPAGE
And it appears eBookDroid only supports codes <100. Is there any way to assign a standard key code to these non-standard key codes? Would something like the following accomplish this?
Code:
key 407   RIGHT_NEXTPAGE   key 19
key 412   LEFT_NEXTPAGE   key 20
key 139   LEFT_PREVPAGE   key 24
key 158   RIGHT_PREVPAGE   key 25
(19, 20, 24, and 25 are what eBookDroid uses by default for scroll up and scroll down, respectively.)

Thanks
Geremia is offline   Reply With Quote