Skip to content

Commit 0840ac9

Browse files
committed
Add missing entry for right control key
1 parent 24d1712 commit 0840ac9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/macos/keycodes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ pub fn key_from_code(code: CGKeyCode) -> Key {
221221
BACKSPACE => Key::Backspace,
222222
CAPS_LOCK => Key::CapsLock,
223223
CONTROL_LEFT => Key::ControlLeft,
224+
CONTROL_RIGHT => Key::ControlRight,
224225
DOWN_ARROW => Key::DownArrow,
225226
ESCAPE => Key::Escape,
226227
F1 => Key::F1,

0 commit comments

Comments
 (0)