View Single Post
Old 05-04-2012, 11:19 AM   #123
diegoocampo
Enthusiast
diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.diegoocampo knows the square root of minus one.
 
Posts: 29
Karma: 7870
Join Date: May 2012
Device: Kindle 3 keyboard
Looking forward for the refreshing screen implementation. Much better if you could set it to auto too!.

I have been able to change the key bindings, to me, in a kindle 3 keyboard it is perfect like this: (i only show the keys i've changed):

Quote:
elseif code == KEY_PGBCK then SendKeyEvent(XK_Page_Up, pressed)
elseif code == KEY_PGFWD then SendKeyEvent(XK_Page_Down, pressed)

-- the following two exist only on K3
elseif code == KEY_LPGBCK then SendKeyEvent(XK_Escape, pressed)
elseif code == KEY_LPGFWD then SendKeyEvent(XK_Tab, pressed)
--elseif code == KEY_MENU then SendKeyEvent(XK_, pressed)
elseif code == KEY_BACK then SendKeyEvent(XK_BackSpace, pressed)
elseif code == KEY_FW_LEFT then SendKeyEvent(XK_Up, pressed)
elseif code == KEY_FW_RIGHT then SendKeyEvent(XK_Down, pressed)
elseif code == KEY_FW_UP then SendKeyEvent(XK_Right, pressed)
elseif code == KEY_FW_DOWN then SendKeyEvent(XK_Left, pressed)

elseif code == KEY_FW_PRESS then SendKeyEvent(XK_Return, pressed)
Thanks!
diegoocampo is offline   Reply With Quote