Quote:
Originally Posted by kacir
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.
|
key_up, key_down, key_left, key_right are keys on D-pad, key_OK is central key on keypad at least for the 90x,
key_next, key_prev are big pageturning buttons, same for 90x,
key_next2, key_prev2 are not present on the 90x.
key_plus key_minus might be volume buttons, same for 90x,
key_back is the long key left of the D-Pad on the 90x
key_delete not there on 90x?
key_menu is the button with the open book icon on the 90x
that leaves us with key_power, i could guess

and key_music (not there on 90x)
What i am missing is a key_home for the home button on the 90x
and the 2 + / - buttons under the volume ones (or above?) Pah, have no idea what they are for, never used them except for booting with firmware change
So, any ideas or suggestions to make the list complete?