diff --git a/app.lua b/app.lua index 40bf7fa..6cb0536 100644 --- a/app.lua +++ b/app.lua @@ -74,6 +74,7 @@ function love.run() if OS == 'iOS' then love.keyboard.setTextInput(true) -- magic. iOS seems to lose textinput events after calls to setMode. -- https://github.com/love2d/love/issues/1959 + love.keyboard.setKeyRepeat(true) end end diff --git a/main.lua b/main.lua index 4a8a4d4..048a370 100644 --- a/main.lua +++ b/main.lua @@ -221,6 +221,7 @@ function App.keychord_press(chord, key) if OS == 'iOS' then love.keyboard.setTextInput(true) -- magic. iOS is prone to losing textinput events. -- https://github.com/love2d/love/issues/1959 + love.keyboard.setKeyRepeat(true) end -- ignore events for some time after window in focus (mostly alt-tab) if Current_time < Last_focus_time + 0.01 then