joystick doesn't work with flash-games

But if the arrows don't have an ASCII value and only ASCII values are supported by Keyboard.write(), why it worked anyhow with regular programms on all operating systems except browsergames.