fix: properly initilize key_map for KT

This commit is contained in:
Qingping Hou
2013-03-14 21:24:50 -04:00
parent 2573fb40a6
commit 20447e820b

View File

@@ -286,6 +286,8 @@ function Input:init()
elseif dev_mod == "KindleTouch" then
input.open("/dev/input/event2") -- Home button
input.open("/dev/input/event3") -- touchscreen
-- KT does have one key!
self.event_map[102] = "Home"
-- update event hook
function Input:eventAdjustHook(ev)
if ev.type == EV_ABS then