Quote:
Originally Posted by skydive
the fix work. we need the key def of the PB's...
|
key defs are in directory keymaps in keydef file.
Following keys are keys on ALL models of PocketBook. No unit has ALL of those keys.
Code:
KEY_BACK = 0x1b
KEY_DELETE = 0x08
KEY_OK = 0x0a
KEY_UP = 0x11
KEY_DOWN = 0x12
KEY_LEFT = 0x13
KEY_RIGHT = 0x14
KEY_MINUS = 0x15
KEY_PLUS = 0x16
KEY_MENU = 0x17
KEY_MUSIC = 0x1e
KEY_POWER = 0x01
KEY_PREV = 0x18
KEY_NEXT = 0x19
KEY_PREV2 = 0x1c
KEY_NEXT2 = 0x1d
key_up, key_down, key_left, key_right are keys on D-pad, key_OK is central key on keypad (those are missing on PB302),
key_next, key_prev are big pageturning buttons,
key_next2, key_prev2 are pageturning buttons on the other side (not present on PB360)
I GUESS, that key_plus key_minus might be volume buttons,
I GUESS, that key_back is the big round button on PB302
key_delete is present on PB301
You will have to experiment with other keys.
Count the physical buttons on your device and try to guess which is which according to the list and then experiment. This shouldn't take more than 30 minutes.
Then publish your results, like I published mine. It is no big deal, but every little bit of help counts.