-
Notifications
You must be signed in to change notification settings - Fork 893
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
New keyboard API for macOS #1890
New keyboard API for macOS #1890
Commits on Dec 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ee85011 - Browse repository at this point
Copy the full SHA ee85011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b41fbd - Browse repository at this point
Copy the full SHA 4b41fbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d9e144 - Browse repository at this point
Copy the full SHA 2d9e144View commit details -
Configuration menu - View commit details
-
Copy full SHA for 355692f - Browse repository at this point
Copy the full SHA 355692fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62bbb46 - Browse repository at this point
Copy the full SHA 62bbb46View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f4f37 - Browse repository at this point
Copy the full SHA e6f4f37View commit details -
Configuration menu - View commit details
-
Copy full SHA for edde42f - Browse repository at this point
Copy the full SHA edde42fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d851d17 - Browse repository at this point
Copy the full SHA d851d17View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c648b - Browse repository at this point
Copy the full SHA c9c648bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ea6d14 - Browse repository at this point
Copy the full SHA 3ea6d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3442c5d - Browse repository at this point
Copy the full SHA 3442c5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d229c - Browse repository at this point
Copy the full SHA 68d229cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e25f35e - Browse repository at this point
Copy the full SHA e25f35eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad9bf98 - Browse repository at this point
Copy the full SHA ad9bf98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 458c1be - Browse repository at this point
Copy the full SHA 458c1beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 217789a - Browse repository at this point
Copy the full SHA 217789aView commit details
Commits on Dec 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 936dba8 - Browse repository at this point
Copy the full SHA 936dba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75b16a9 - Browse repository at this point
Copy the full SHA 75b16a9View commit details
Commits on Jan 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7bbd122 - Browse repository at this point
Copy the full SHA 7bbd122View commit details
Commits on Jan 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e469a97 - Browse repository at this point
Copy the full SHA e469a97View commit details
Commits on Jan 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2cb256d - Browse repository at this point
Copy the full SHA 2cb256dView commit details
Commits on Jan 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a94c3d8 - Browse repository at this point
Copy the full SHA a94c3d8View commit details
Commits on Jan 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ff2d7aa - Browse repository at this point
Copy the full SHA ff2d7aaView commit details
Commits on Jan 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for eedf78e - Browse repository at this point
Copy the full SHA eedf78eView commit details
Commits on Jan 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7b67bbd - Browse repository at this point
Copy the full SHA 7b67bbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86f0da8 - Browse repository at this point
Copy the full SHA 86f0da8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bafaa9a - Browse repository at this point
Copy the full SHA bafaa9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4a3ee9 - Browse repository at this point
Copy the full SHA f4a3ee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d43977 - Browse repository at this point
Copy the full SHA 0d43977View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d3b7b6 - Browse repository at this point
Copy the full SHA 5d3b7b6View commit details
Commits on Jan 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1edbb63 - Browse repository at this point
Copy the full SHA 1edbb63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 884e673 - Browse repository at this point
Copy the full SHA 884e673View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f5d87c - Browse repository at this point
Copy the full SHA 5f5d87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3226db1 - Browse repository at this point
Copy the full SHA 3226db1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b56abf1 - Browse repository at this point
Copy the full SHA b56abf1View commit details
Commits on Jan 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0527095 - Browse repository at this point
Copy the full SHA 0527095View commit details
Commits on Jan 23, 2021
-
Co-authored-by: Markus Røyset <maroider@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1ea30a7 - Browse repository at this point
Copy the full SHA 1ea30a7View commit details -
Co-authored-by: Markus Røyset <maroider@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 94eb458 - Browse repository at this point
Copy the full SHA 94eb458View commit details -
Fix for arrow keys being reported as unidentified.
And minor improvements
Configuration menu - View commit details
-
Copy full SHA for 9c3025d - Browse repository at this point
Copy the full SHA 9c3025dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d92a942 - Browse repository at this point
Copy the full SHA d92a942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a7ceb - Browse repository at this point
Copy the full SHA 84a7cebView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3178b3 - Browse repository at this point
Copy the full SHA d3178b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76e7bca - Browse repository at this point
Copy the full SHA 76e7bcaView commit details
Commits on Jan 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 41855c9 - Browse repository at this point
Copy the full SHA 41855c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d99d6fc - Browse repository at this point
Copy the full SHA d99d6fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3096e0e - Browse repository at this point
Copy the full SHA 3096e0eView commit details
Commits on Feb 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 37da87b - Browse repository at this point
Copy the full SHA 37da87bView commit details -
- Add the `Space` variant to the `to_text` function. - Mark `get_kbd_state` safe. - Change `[MaybeUninit<u8>; 256]` to `MaybeUninit<[u8; 256]>`
Configuration menu - View commit details
-
Copy full SHA for 1fbd967 - Browse repository at this point
Copy the full SHA 1fbd967View commit details
Commits on Feb 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f857190 - Browse repository at this point
Copy the full SHA f857190View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee21163 - Browse repository at this point
Copy the full SHA ee21163View commit details -
Configuration menu - View commit details
-
Copy full SHA for df1a48d - Browse repository at this point
Copy the full SHA df1a48dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3e4f48 - Browse repository at this point
Copy the full SHA c3e4f48View commit details
Commits on Feb 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 76c1ab3 - Browse repository at this point
Copy the full SHA 76c1ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61775c1 - Browse repository at this point
Copy the full SHA 61775c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e36b5 - Browse repository at this point
Copy the full SHA 72e36b5View commit details
Commits on Feb 15, 2021
-
Apply suggestions from code review
Co-authored-by: Markus Røyset <maroider@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 98246b9 - Browse repository at this point
Copy the full SHA 98246b9View commit details -
Merge branch 'new-keyboard' of https://github.com/ArturKovacs/winit i…
…nto new-keyboard
Configuration menu - View commit details
-
Copy full SHA for 37f696d - Browse repository at this point
Copy the full SHA 37f696dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aa46fd - Browse repository at this point
Copy the full SHA 0aa46fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea98471 - Browse repository at this point
Copy the full SHA ea98471View commit details
Commits on Feb 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3a94735 - Browse repository at this point
Copy the full SHA 3a94735View commit details
Commits on Feb 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 70b2d6e - Browse repository at this point
Copy the full SHA 70b2d6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0717b08 - Browse repository at this point
Copy the full SHA 0717b08View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0bf1f - Browse repository at this point
Copy the full SHA ba0bf1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c88bf3d - Browse repository at this point
Copy the full SHA c88bf3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8538486 - Browse repository at this point
Copy the full SHA 8538486View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15cfca1 - Browse repository at this point
Copy the full SHA 15cfca1View commit details
Commits on Feb 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 13bf3cd - Browse repository at this point
Copy the full SHA 13bf3cdView commit details -
Fixed the AltGr keypress not being reported when the AltGr key is pre…
…ssed and released in a very quick succession
Configuration menu - View commit details
-
Copy full SHA for 57d550a - Browse repository at this point
Copy the full SHA 57d550aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0926ec7 - Browse repository at this point
Copy the full SHA 0926ec7View commit details
Commits on Mar 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 42055e3 - Browse repository at this point
Copy the full SHA 42055e3View commit details
Commits on Apr 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 03c8b0d - Browse repository at this point
Copy the full SHA 03c8b0dView commit details
Commits on Apr 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 166d79e - Browse repository at this point
Copy the full SHA 166d79eView commit details -
Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 766c7dc - Browse repository at this point
Copy the full SHA 766c7dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37dae30 - Browse repository at this point
Copy the full SHA 37dae30View commit details -
Merge branch 'new-keyboard' of https://github.com/ArturKovacs/winit i…
…nto new-keyboard
Configuration menu - View commit details
-
Copy full SHA for a52f86d - Browse repository at this point
Copy the full SHA a52f86dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0474f2 - Browse repository at this point
Copy the full SHA f0474f2View commit details
Commits on Apr 25, 2021
-
Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f72d2f1 - Browse repository at this point
Copy the full SHA f72d2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0ddbdb - Browse repository at this point
Copy the full SHA b0ddbdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d05ac2e - Browse repository at this point
Copy the full SHA d05ac2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a99335b - Browse repository at this point
Copy the full SHA a99335bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6ac99 - Browse repository at this point
Copy the full SHA 1b6ac99View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c1d2a - Browse repository at this point
Copy the full SHA f4c1d2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 866a3e6 - Browse repository at this point
Copy the full SHA 866a3e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc315c3 - Browse repository at this point
Copy the full SHA cc315c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dab26c - Browse repository at this point
Copy the full SHA 0dab26cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e8baaa - Browse repository at this point
Copy the full SHA 3e8baaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7db024c - Browse repository at this point
Copy the full SHA 7db024cView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa3e509 - Browse repository at this point
Copy the full SHA aa3e509View commit details -
Configuration menu - View commit details
-
Copy full SHA for d65f4a4 - Browse repository at this point
Copy the full SHA d65f4a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1e0e1e - Browse repository at this point
Copy the full SHA d1e0e1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5e83fd - Browse repository at this point
Copy the full SHA c5e83fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6632dc5 - Browse repository at this point
Copy the full SHA 6632dc5View commit details -
New keyboard API for Windows (rust-windowing#1788)
* Introducing the new `KeyEvent` and renaming old stuff * Implemented physical_key on Windows * Ran cargo fmt * Progress with the keyboard's windows implementation * Add proper handling of dead keys * Add translation for non-printable virtual keys * Run `cargo fmt` * Fix for AltGraph not being reported * Synthesize key events when focus enters or leaves * Minor improvements * Remove obsolete API * Fix numlock and pause not being reported correctly * Ran `cargo fmt` * Fix numpad keys being reported incorrectly * Update examples * Ran `cargo fmt` * Add documentation for `ScanCode` * Add key binding example * Use consistent modifier key names rust-windowing#1343 * WONT COMPILE transitioning to new keyboard API * WONT COMPILE Implement new keyboard layout preparation * WONT COMPILE new keyboard API progress * Main compile errors fixed for keyboard * Fix bugs in new keyboard handling * Remove obsolete code * Fix examples * Ran `cargo fmt` * Fix build error with serde * Ran `cargo fmt` * Tweaks in the Windows keyboard implementation * Add `KeyCodeExtScancode` * Add `reset_dead_keys` * Improve the documentation for `Key` and `KeyCode` * Rename the meta key to super * Address feedback for the keyboard API * Fix for rustdoc Co-authored-by: Markus Røyset <maroider@protonmail.com> * Improve documentation Co-authored-by: Markus Røyset <maroider@protonmail.com> * Fix for arrow keys being reported as unidentified. And minor improvements * Fix media keys reporting Unidentified * Don't report text on key release events * Fix for NumLock being reported as Pause in raw input * Fix for strange behaviour around NumLock and Pause * Fix for NumLock being ineffective * Fix for location not being reported correctly * `RawKeyEvent`s now report repeat * Don't report text for synthetic key releases * Address feedback - Add the `Space` variant to the `to_text` function. - Mark `get_kbd_state` safe. - Change `[MaybeUninit<u8>; 256]` to `MaybeUninit<[u8; 256]>` * Filter `Unidentified` from PrtSc key device events * Don't report incorrect `RawKeyEvent` for shift + numpad * AltGraph is not reported again * Document Windows specific behaviour for shift+numpad * Fix typo * Dead keys now affect characters from logical_key * Prevent Pause and NumLock mappings in window events * Apply suggestions from code review Co-authored-by: Markus Røyset <maroider@protonmail.com> * Ran `cargo fmt` * Add W3C license for `Key` and `KeyCode` * Extend documentation according to feedback * Ignore NumLock in `key_without_modifiers` * Remove unused `key_code_to_non_char_key` * Remove empty event.rs file * Use space for resetting dead keys * Fix reporting multiple graphemes in logical_key * Avoid incorrect synthetic keypress during setfocus * Fixed the AltGr keypress not being reported when the AltGr key is pressed and released in a very quick succession * Filter fake Ctrl events when pressing AltGr * Improve code quality * Remove `repeat` from `RawKeyEvent` * Allow fractional scroll in raw mouse events * Fix typo Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com> * Remove unused imports * Remove unused variable * Remove unnecessary `unwrap()` Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com> * Avoid using the deprecated `into_rgba()` * Fix IME crash Co-authored-by: Markus Røyset <maroider@protonmail.com> Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ab17bc1 - Browse repository at this point
Copy the full SHA ab17bc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d48d898 - Browse repository at this point
Copy the full SHA d48d898View commit details
Commits on May 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b425fc1 - Browse repository at this point
Copy the full SHA b425fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78f499c - Browse repository at this point
Copy the full SHA 78f499cView commit details -
Configuration menu - View commit details
-
Copy full SHA for db5adb3 - Browse repository at this point
Copy the full SHA db5adb3View commit details
Commits on May 8, 2021
-
Prevent incorrect modifier change event
When both the left and right keys of the same modifier were held down, then one of them was released, a ModifiersChanged event was emitted which does not contain the modifier anymore. This was incorrect as the other key was still being held down.
Configuration menu - View commit details
-
Copy full SHA for 1e51f9b - Browse repository at this point
Copy the full SHA 1e51f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2e9a36 - Browse repository at this point
Copy the full SHA b2e9a36View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf96f1d - Browse repository at this point
Copy the full SHA cf96f1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd53c49 - Browse repository at this point
Copy the full SHA dd53c49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9088ee2 - Browse repository at this point
Copy the full SHA 9088ee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 595ea23 - Browse repository at this point
Copy the full SHA 595ea23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30be311 - Browse repository at this point
Copy the full SHA 30be311View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a828a9 - Browse repository at this point
Copy the full SHA 0a828a9View commit details
Commits on May 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 25b3e2d - Browse repository at this point
Copy the full SHA 25b3e2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef0b49 - Browse repository at this point
Copy the full SHA 1ef0b49View commit details
Commits on May 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 12cf3e1 - Browse repository at this point
Copy the full SHA 12cf3e1View commit details
Commits on May 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 875cc62 - Browse repository at this point
Copy the full SHA 875cc62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ffdbcd - Browse repository at this point
Copy the full SHA 2ffdbcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9e0adb - Browse repository at this point
Copy the full SHA a9e0adbView commit details
Commits on Jul 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ef0af64 - Browse repository at this point
Copy the full SHA ef0af64View commit details