Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backspace key doesn't fire 'typed' interrupts #198

Open
scunning opened this issue Jun 17, 2012 · 3 comments
Open

Backspace key doesn't fire 'typed' interrupts #198

scunning opened this issue Jun 17, 2012 · 3 comments

Comments

@scunning
Copy link

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.

@kierenj
Copy link
Owner

kierenj commented Jun 18, 2012

Can you confirm the official (RC1) emulator has different behaviour? It should be copying that exactly - but if not, we can certainly fix!

@scunning
Copy link
Author

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.

@scunning
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants