Open scunning opened 12 years ago
Can you confirm the official (RC1) emulator has different behaviour? It should be copying that exactly - but if not, we can certainly fix!
Holding down the backspace key in the RC1 emulator does cause multiple characters to be removed in succession and the behavior (delay before repeating and repeat rate) is identical to holding down a character key.
After looking through the rc1 and your emulator's source code (and writing a test app) it now looks like the problem is that AWT generates both 'pressed' and 'typed' events for the RC1 emulator when backspace is pressed while Windows, based the observed behavior of your emulator, only generates 'pressed' events. The RC1 emulator also doesn't appear to ignore repeated pressed events.
The generic keyboard currently makes the backspace key fires 'pressed' and 'released' interrupts rather than 'typed' interrupts. This means that holding it down to have multiple characters removed in succession can't work.