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 3eb425c commit e65b8ca
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 e65b8ca

Please sign in to comment.