mirror of
https://github.com/airstruck/luigi.git
synced 2025-11-18 12:25:06 +00:00
remap " " to "space" for love 0.9
This commit is contained in:
@@ -143,9 +143,11 @@ function Backend.show (layout)
|
||||
end
|
||||
end)
|
||||
hook(layout, 'keypressed', function (key, isRepeat)
|
||||
if key == ' ' then key = 'space' end
|
||||
return input:handleKeyPress(layout, key, Backend.getMousePosition())
|
||||
end)
|
||||
hook(layout, 'keyreleased', function (key)
|
||||
if key == ' ' then key = 'space' end
|
||||
return input:handleKeyRelease(layout, key, Backend.getMousePosition())
|
||||
end)
|
||||
hook(layout, 'textinput', function (text)
|
||||
|
||||
Reference in New Issue
Block a user