This commit is contained in:
parent
9e9e8ed35c
commit
75ec5c9087
2
app.lua
2
app.lua
|
@ -237,6 +237,7 @@ function App.mouse_y()
|
|||
end
|
||||
|
||||
-- all textinput events are also keypresses
|
||||
-- TODO: handle chords of multiple keys
|
||||
function App.run_after_textinput(t)
|
||||
App.keypressed(t)
|
||||
App.textinput(t)
|
||||
|
@ -246,6 +247,7 @@ function App.run_after_textinput(t)
|
|||
end
|
||||
|
||||
-- not all keys are textinput
|
||||
-- TODO: handle chords of multiple keys
|
||||
function App.run_after_keychord(chord)
|
||||
App.keychord_pressed(chord)
|
||||
App.keyreleased(chord)
|
||||
|
|
Loading…
Reference in New Issue