After testing again it does seem like that might be the problem. I'm having arrow key (physical and virtual) and joystick issues on Safari 16.6.1. They don't move the character, but typing works fine.
On Safari for iOS (v17.4) the joystick and virtual keyboard arrow keys still work perfectly though.
Hmmm, that's strange. You are describing the opposite of what I expected to happen. Was it behaving like that in Safari 16 from the beginning? Or was it only since about a day ago? - It wouldn't surprise me if it was like prior to yesterday, but I was expected it to be fixed now.
@Kawa raised the issue to me originally, that the direction keys were not working reliably in Firefox. I think it was a more general problem, but certainly very noticeable in Firefox. Chrome was generally reliable, but sometimes I also noticed that a direction key was ignored there as well.
The cause for this was that the
current direction key state was being tested by the interpreter, i.e. "is it currently down, and has it just been clicked", rather than having the direction/arrow key presses also go via the keypress queue. It gives an opportunity for an arrow key to be pressed quickly, where the down and up happens fast enough that the interpreter doesn't see it. Chrome seemed to be able to pick up on them but not so much Firefox. Perhaps Safari had a similar issue. - One thing that I see happen in Firefox fairly regularly are small pauses in the animation, which probably contributed to the loss of arrow key detection, but now that they're going via the keypress key, it should be working (I need to investigate the small "hanging" moments in Firefox as a separate issue).
Yesterday I made a change to address this. It now sends the arrow key presses via the same key press queue that the other key presses go via. It appeared to fix the issue in Firefox for me, but if other people are seeing issues, then maybe I haven't covered all the bases with regards to the key codes. It looks like I have though. Both the arrow keys and the numeric key pad equivalents are working for me.
Has anyone else noticed issues with the direction keys over the past day?