|
|
|
@ -185,7 +185,7 @@ function InputBox:input(ypos, height, title, d_text, is_hint)
|
|
|
|
|
while true do
|
|
|
|
|
local ev = input.saveWaitForEvent()
|
|
|
|
|
ev.code = adjustKeyEvents(ev)
|
|
|
|
|
if ev.type == EV_KEY and ev.value == EVENT_VALUE_KEY_PRESS then
|
|
|
|
|
if ev.type == EV_KEY and ev.value ~= EVENT_VALUE_KEY_RELEASE then
|
|
|
|
|
keydef = Keydef:new(ev.code, getKeyModifier())
|
|
|
|
|
debug("key pressed: "..tostring(keydef))
|
|
|
|
|
|
|
|
|
|