KeyMods

Modifier mask

Values

ValueMeaning
none0
ctrlMask0x01
shiftMask0x02
superMask0x04
altMask0x08
leftMask0x20
rightMask0x40
leftCtrlctrlMask | leftMask
rightCtrlctrlMask | rightMask
leftShiftshiftMask | leftMask
rightShiftshiftMask | rightMask
leftAltaltMask | leftMask
rightAltaltMask | rightMask
leftSupersuperMask | leftMask
rightSupersuperMask | rightMask
ctrlleftCtrl | rightCtrl
altleftAlt | rightAlt
super_leftSuper | rightSuper
shiftleftShift | rightShift

Meta