love.js
love.js copied to clipboard
Scancode doesn't work
love.keyboard.isScancodeDown and love.keypressed doesn't work
Code
function love.keypressed( key, scancode, isrepeat )
print( key, scancode, isrepeat )
end
Love 10.0 on linux with (azerty keyboard)
a q false
z w false
e e false
r r false
t t false
y y false
Love.js with azerty keyboard
a a false
z z false
e e false
r r false
t t false
y y false
Good catch, thanks! It should be possible to do scancodes in the browser so I will look into why it's not working.
I have opened a bug report on SDL's bug tracker: https://bugzilla.libsdl.org/show_bug.cgi?id=3259