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

New keyboard API for macOS #1890

Closed

Commits on Dec 5, 2020

  1. Configuration menu
    Copy the full SHA
    ee85011 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b41fbd View commit details
    Browse the repository at this point in the history
  3. Ran cargo fmt

    ArturKovacs committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    2d9e144 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    355692f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    62bbb46 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e6f4f37 View commit details
    Browse the repository at this point in the history
  7. Run cargo fmt

    ArturKovacs committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    edde42f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d851d17 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c9c648b View commit details
    Browse the repository at this point in the history
  10. Minor improvements

    ArturKovacs committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    3ea6d14 View commit details
    Browse the repository at this point in the history
  11. Remove obsolete API

    ArturKovacs committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    3442c5d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    68d229c View commit details
    Browse the repository at this point in the history
  13. Ran cargo fmt

    ArturKovacs committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    e25f35e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ad9bf98 View commit details
    Browse the repository at this point in the history
  15. Update examples

    ArturKovacs committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    458c1be View commit details
    Browse the repository at this point in the history
  16. Ran cargo fmt

    ArturKovacs committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    217789a View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2020

  1. Configuration menu
    Copy the full SHA
    936dba8 View commit details
    Browse the repository at this point in the history
  2. Add key binding example

    ArturKovacs committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    75b16a9 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2021

  1. Configuration menu
    Copy the full SHA
    7bbd122 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2021

  1. Configuration menu
    Copy the full SHA
    e469a97 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. Configuration menu
    Copy the full SHA
    2cb256d View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. Configuration menu
    Copy the full SHA
    a94c3d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Configuration menu
    Copy the full SHA
    ff2d7aa View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. Configuration menu
    Copy the full SHA
    eedf78e View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2021

  1. Remove obsolete code

    ArturKovacs committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    7b67bbd View commit details
    Browse the repository at this point in the history
  2. Fix examples

    ArturKovacs committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    86f0da8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bafaa9a View commit details
    Browse the repository at this point in the history
  4. Ran cargo fmt

    ArturKovacs committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    f4a3ee9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0d43977 View commit details
    Browse the repository at this point in the history
  6. Ran cargo fmt

    ArturKovacs committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    5d3b7b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. Configuration menu
    Copy the full SHA
    1edbb63 View commit details
    Browse the repository at this point in the history
  2. Add KeyCodeExtScancode

    ArturKovacs committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    884e673 View commit details
    Browse the repository at this point in the history
  3. Add reset_dead_keys

    ArturKovacs committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    5f5d87c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3226db1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b56abf1 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2021

  1. Configuration menu
    Copy the full SHA
    0527095 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. Fix for rustdoc

    Co-authored-by: Markus Røyset <maroider@protonmail.com>
    ArturKovacs and maroider committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    1ea30a7 View commit details
    Browse the repository at this point in the history
  2. Improve documentation

    Co-authored-by: Markus Røyset <maroider@protonmail.com>
    ArturKovacs and maroider committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    94eb458 View commit details
    Browse the repository at this point in the history
  3. Fix for arrow keys being reported as unidentified.

    And minor improvements
    ArturKovacs committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    9c3025d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d92a942 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    84a7ceb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3178b3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    76e7bca View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2021

  1. Configuration menu
    Copy the full SHA
    41855c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d99d6fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3096e0e View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. Configuration menu
    Copy the full SHA
    37da87b View commit details
    Browse the repository at this point in the history
  2. Address feedback

    - Add the `Space` variant to the `to_text` function.
    - Mark `get_kbd_state` safe.
    - Change `[MaybeUninit<u8>; 256]` to `MaybeUninit<[u8; 256]>`
    ArturKovacs committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    1fbd967 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

  1. Configuration menu
    Copy the full SHA
    f857190 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee21163 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df1a48d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c3e4f48 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2021

  1. Fix typo

    ArturKovacs committed Feb 14, 2021
    Configuration menu
    Copy the full SHA
    76c1ab3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61775c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72e36b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2021

  1. Apply suggestions from code review

    Co-authored-by: Markus Røyset <maroider@protonmail.com>
    ArturKovacs and maroider committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    98246b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37f696d View commit details
    Browse the repository at this point in the history
  3. Ran cargo fmt

    ArturKovacs committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    0aa46fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea98471 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. Configuration menu
    Copy the full SHA
    3a94735 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2021

  1. Configuration menu
    Copy the full SHA
    70b2d6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0717b08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba0bf1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c88bf3d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8538486 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    15cfca1 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2021

  1. Configuration menu
    Copy the full SHA
    13bf3cd View commit details
    Browse the repository at this point in the history
  2. Fixed the AltGr keypress not being reported when the AltGr key is pre…

    …ssed and released in a very quick succession
    ArturKovacs committed Feb 28, 2021
    Configuration menu
    Copy the full SHA
    57d550a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0926ec7 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2021

  1. Improve code quality

    ArturKovacs committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    42055e3 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Configuration menu
    Copy the full SHA
    03c8b0d View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Configuration menu
    Copy the full SHA
    166d79e View commit details
    Browse the repository at this point in the history
  2. Fix typo

    Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com>
    ArturKovacs and msiglreith committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    766c7dc View commit details
    Browse the repository at this point in the history
  3. Remove unused imports

    ArturKovacs committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    37dae30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a52f86d View commit details
    Browse the repository at this point in the history
  5. Remove unused variable

    ArturKovacs committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    f0474f2 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2021

  1. Remove unnecessary unwrap()

    Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com>
    ArturKovacs and msiglreith committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    f72d2f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0ddbdb View commit details
    Browse the repository at this point in the history
  3. Fix IME crash

    ArturKovacs committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    d05ac2e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a99335b View commit details
    Browse the repository at this point in the history
  5. Ran cargo fmt

    ArturKovacs committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    1b6ac99 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f4c1d2a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    866a3e6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cc315c3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0dab26c View commit details
    Browse the repository at this point in the history
  10. Handle the keys F21-F24

    ArturKovacs committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    3e8baaa View commit details
    Browse the repository at this point in the history
  11. Add IME handling

    ArturKovacs committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    7db024c View commit details
    Browse the repository at this point in the history
  12. Fix warnings

    ArturKovacs committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    aa3e509 View commit details
    Browse the repository at this point in the history
  13. Ran cargo fmt

    ArturKovacs committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    d65f4a4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d1e0e1e View commit details
    Browse the repository at this point in the history
  15. Fix spelling of "unknown"

    ArturKovacs committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    c5e83fd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6632dc5 View commit details
    Browse the repository at this point in the history
  17. 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>
    3 people committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    ab17bc1 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d48d898 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    b425fc1 View commit details
    Browse the repository at this point in the history
  2. Run cargo fmt

    ArturKovacs committed May 7, 2021
    Configuration menu
    Copy the full SHA
    78f499c View commit details
    Browse the repository at this point in the history
  3. Remove unused code

    ArturKovacs committed May 7, 2021
    Configuration menu
    Copy the full SHA
    db5adb3 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2021

  1. 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.
    ArturKovacs committed May 8, 2021
    Configuration menu
    Copy the full SHA
    1e51f9b View commit details
    Browse the repository at this point in the history
  2. Fix ios build

    ArturKovacs committed May 8, 2021
    Configuration menu
    Copy the full SHA
    b2e9a36 View commit details
    Browse the repository at this point in the history
  3. Fix doc build for ios

    ArturKovacs committed May 8, 2021
    Configuration menu
    Copy the full SHA
    cf96f1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd53c49 View commit details
    Browse the repository at this point in the history
  5. Remove unused code

    ArturKovacs committed May 8, 2021
    Configuration menu
    Copy the full SHA
    9088ee2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    595ea23 View commit details
    Browse the repository at this point in the history
  7. Ran cargo fmt

    ArturKovacs committed May 8, 2021
    Configuration menu
    Copy the full SHA
    30be311 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0a828a9 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2021

  1. Configuration menu
    Copy the full SHA
    25b3e2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ef0b49 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2021

  1. Configuration menu
    Copy the full SHA
    12cf3e1 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. Configuration menu
    Copy the full SHA
    875cc62 View commit details
    Browse the repository at this point in the history
  2. Ran cargo fmt

    ArturKovacs committed May 30, 2021
    Configuration menu
    Copy the full SHA
    2ffdbcd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9e0adb View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Configuration menu
    Copy the full SHA
    ef0af64 View commit details
    Browse the repository at this point in the history