Skip to content

Commit

Permalink
Add missing entry for right control key
Browse files Browse the repository at this point in the history
  • Loading branch information
tcrouch committed May 14, 2024
1 parent 24d1712 commit 0840ac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/macos/keycodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ pub fn key_from_code(code: CGKeyCode) -> Key {
BACKSPACE => Key::Backspace,
CAPS_LOCK => Key::CapsLock,
CONTROL_LEFT => Key::ControlLeft,
CONTROL_RIGHT => Key::ControlRight,
DOWN_ARROW => Key::DownArrow,
ESCAPE => Key::Escape,
F1 => Key::F1,
Expand Down

0 comments on commit 0840ac9

Please sign in to comment.