Keys not working in Chromium
iblech opened this issue · comments
Ingo Blechschmidt commented
At the moment, input using keys doesn't seem to work on Chromium.
I tracked the problem down to the if
statement in inputMovement
: The branch responsible for handling key input is only executed once, afterwards only the branch for handling motion events is executed. This is because Chromium emits a (spurious?) motion event.
I can confirm that I'm not on a mobile computer. :-)
Attached is a screenshot of the spurious event.
Matthias Hutzler commented
Oh.
Probably the choice between key and accelerometer input should be made in a different way. Maybe the keys WASD should just switch to key input irrevocably (not the other way round).