Usage
XEKEYS only has one function to reduce complexity. This function, get_keys, returns an Enum, Keys.
All of the possible values are listed below in the definition.
Definition:
pub enum Keys {
Char(char),
CtrlChar(char),
AltChar(char),
Arrow(ArrowKey),
CtrlArrow(ArrowKey),
AltArrow(ArrowKey),
SuperArrow(ArrowKey),
ShiftArrow(ArrowKey),
CtrlShiftArrow(ArrowKey),
AltShiftArrow(ArrowKey),
CtrlAltArrow(ArrowKey),
ShiftSuperArrow(ArrowKey),
CtrlAltShiftArrow(ArrowKey),
Function(u8),
Esc,
PageUp,
PageDown,
Backspace,
AltBackspace,
ShiftEnter,
None
}
pub enum ArrowKey {
Up,
Down,
Right,
Left
}