Skip to content

Commit 23fb396

Browse files
committed
add ALTGR modifier flag
1 parent 0e88c87 commit 23fb396

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

winit-core/src/keyboard.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,6 +1701,8 @@ bitflags! {
17011701
const ALT = 0b100 << 6;
17021702
/// This is the "windows" key on PC and "command" key on Mac.
17031703
const META = 0b100 << 9;
1704+
/// The "AltGraph" key, usually used to insert symbols.
1705+
const ALTGR = 0b100 << 10;
17041706
#[deprecated = "use META instead"]
17051707
const SUPER = Self::META.bits();
17061708
}

0 commit comments

Comments
 (0)