View Single Post
Old 05-16-2012, 04:13 PM   #144
Rockets00
Connoisseur
Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.Rockets00 got an A in P-Chem.
 
Posts: 60
Karma: 6492
Join Date: Oct 2011
Device: kindle 2
It works! I'm so happy now.

I tried remove Home command completely, i expected default action to return home. Didn't help.

Step to victory:
i noticed "set_k3_keycodes()" in config.lua and removed this line!
It is OK now.

If we check keys.lua, we wil find, that K3 uses different codes:
function set_k3_keycodes()
KEY_AA = 190
KEY_SYM = 126
KEY_HOME = 102
KEY_BACK = 158
KEY_PGFWD = 191
KEY_LPGBCK = 193
KEY_LPGFWD = 104
KEY_VPLUS = 115
KEY_VMINUS = 114
KEY_FW_UP = 103
KEY_FW_DOWN = 108
KEY_FW_PRESS = 194
end

Default Home is set to:
KEY_HOME = 98

I suppose Kindle 2 and DX use default values. What values take Kindle 4?
Rockets00 is offline   Reply With Quote