Skip to content

Commit

Permalink
Added XF86Calculator keysym (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperspahl authored Oct 17, 2022
1 parent af84307 commit 33af1c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/penrose_keysyms/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2047,6 +2047,9 @@ pub enum XKeySym {
/// XF86XK_TouchpadToggle
#[strum(serialize = "XF86TouchpadToggle")]
XF86XK_TouchpadToggle,
/// XF86XK_Calculator
#[strum(serialize = "XF86Calculator")]
XF86XK_Calculator,
}

impl XKeySym {
Expand Down Expand Up @@ -2732,6 +2735,7 @@ impl XKeySym {
XKeySym::XF86XK_AudioMicMute => 0x1008FF18,
XKeySym::XF86XK_DisplayOff => 0x1008FF19,
XKeySym::XF86XK_TouchpadToggle => 0x1008FF1A,
XKeySym::XF86XK_Calculator => 0x1008FF1D,
} as u32)
.to_le_bytes()
.to_vec()
Expand Down

0 comments on commit 33af1c4

Please sign in to comment.