commit | 9f09fa4a563d9b2bba75d502b57bd1276d2f1f85 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Tue Oct 04 02:11:52 2016 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Tue Oct 04 02:11:52 2016 -0700 |
tree | 4dc03c018f9611106e8f1df194faae5567b0b9ab | |
parent | f3e2e7ea7445cbe6c8e3b22c2d710d04bf99a230 [diff] |
Fixed bug 2157 - Caps Lock key produces key down & key up events while key is still pressed. Tim McDaniel Using checkkeys test app: * Press and hold Caps Lock key. * checkkeys reports a CapsLock key pressed event and a CapsLock key released event. * Release Caps Lock key. * checkkeys reports no further events. This patch fixes OSX Caps Lock up/down event detection by installing a HID callback.