YWGCJJHTPSXLQJMN2UQPOEPTY4B5F5GCJWRHUWYHL62TKO3UMSHQC
CFJO3YN26VV7D57AVX57BFJDAPSA6ZRXQ2NW6L3TKMRS2TBNLVDAC
JWNWKE4Y4ZNZ47RCAWS4NLPYWBQVSPCKWJCGKVQXBFEQ4NM732FQC
3QNOKBFMKBGXBVJIRHR2444JRRMBTABHE4674NR3DT67RRM2X6GAC
AIMA4HLDQ6GI74ESXMOJJ5UVHKZWPNED26G6SXX76G6ORQLYS5PAC
DBPKNKLVQ6KGZLBGRMY6D6ZS3G7K3I5O6UU6EHHBFGR24NXPNZYAC
MZ5VPIWLS3HXUVPIQ5NMM3T6DB4SDBBT6KKL45EULAVFKUZXWOZAC
D6DV2L5CX6YGDXHI3SQKYEOBNTKUOBB6M5OJTPSECRQJHRIAGSYAC
AVTNUQYRBW7IX2YQ3KDLVQ23RGW3BAKTAE7P73ASBYNKOHMQMH5AC
WOQELCJJ7FPYJEKT57NJ3FJARPNWMHLITDTCUICFYU4YWXDSASYQC
love.handlers[name] = App[name]
-- love.keyboard.isDown doesn't work on Android, so emulate it using
-- keypressed and keyreleased events
if name == 'keypressed' then
love.handlers[name] = function(key, scancode, isrepeat)
Keys_down[key] = true
return App.keypressed(key, scancode, isrepeat)
end
elseif name == 'keyreleased' then
love.handlers[name] = function(key, scancode)
Keys_down[key] = nil
return App.keyreleased(key, scancode)
end
else
love.handlers[name] = App[name]
end
local Keys_down = {}
-- love.keyboard.isDown doesn't work on Android, so emulate it using
-- keypressed and keyreleased events
if name == 'keypressed' then
love.handlers[name] = function(key, scancode, isrepeat)
Keys_down[key] = true
return App.keypressed(key, scancode, isrepeat)
end
elseif name == 'keyreleased' then
love.handlers[name] = function(key, scancode)
Keys_down[key] = nil
return App.keyreleased(key, scancode)
end
else
love.handlers[name] = App[name]
end
App.key_down = function(key) return Keys_down[key] end