We enabled a keyDown and keyUp listener but we wanted to have a key stay pressed and navigated through the menu and then when the keyUp is triggered to close the device connection. But we ran into an issue with the key repeat trigging the keyDown event. So after some looking we found out that you can turn off keyboard repeat.
Here is how in Win XP:
1. Setting > Control Panel > Accessibility > Options
2. Filter Keys check the 'Use FilterKeys'
3. Click Settings button
4. Filter options select 'Ignore quick keystrokes and slow down repeat rate'
5. Click settings
6. Select 'No keyboard repeat'
7. Click 'OK'
8. Notification Uncheck 'Beep when keys pressed or accepted'
9. Click 'OK'
10. Click 'Apply'
11. Click 'OK'
Now you can hold a key down and have the keyDown event trigger and navigate while holding it down and then the keyUp event will trigger when you let go of the key.
0 comments:
Post a Comment