TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Enter key not working.

Open kijeEnki opened this issue 2 years ago • 3 comments

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

kijeEnki avatar Apr 01 '23 17:04 kijeEnki

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

scambier avatar Apr 22 '23 15:04 scambier

When i enter a command and press enter nothing happens. Also since that issue i got a new computer and enter works now

kijeEnki avatar Apr 22 '23 20:04 kijeEnki

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.

bennypowers avatar Nov 28 '23 07:11 bennypowers

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

dharrington avatar May 02 '24 02:05 dharrington