TIC-80
TIC-80 copied to clipboard
Enter key not working.
When i press enter on my keyboard, nothing happens. It works in other programs, but not on tic80. The one on the sensor on screen keyboard works, but not the physical. I’ve tried different layouts — yet no success. It doesn’t work on the web version either
What code are you using to determine that the key is working or not?
Edit: is it the numpad enter? https://github.com/nesbox/TIC-80/issues/1959
When i enter a command and press enter nothing happens. Also since that issue i got a new computer and enter works now
I have a similar problem. I use a Cantor keyboard running QMK firmware. there are several keys including Enter, Escape, j, k, and others, which I have to press twice quickly in order to register a single keypress. I don't have this issue with my WASD v2 keyboard, or with a cheap usb rubber dome keyboard.
Same thing here with QMK. Probably it's implementing keypresses by polling state rather than keyboard events. I think that's the case looking at https://github.com/nesbox/TIC-80/blob/main/src/core/io.c