afk v0.1.0 AFK.Keycode View Source
A keycode represents a key that when pressed affects the keyboard state in some way.
The currently supported keycode types are:
AFK.Keycode.Key
- A basic keyboard keyAFK.Keycode.Layer
- A key that can activate other layersAFK.Keycode.Modifier
- A basic keyboard modifierAFK.Keycode.None
- A keycode that does nothingAFK.Keycode.Transparent
- A key that is transparent to its layer
Link to this section Summary
Link to this section Types
Link to this type
t()
View Sourcet() :: AFK.Keycode.Key.t() | AFK.Keycode.Layer.t() | AFK.Keycode.Modifier.t() | AFK.Keycode.None.t() | AFK.Keycode.Transparent.t()
Link to this type
with_scancode()
View Sourcewith_scancode() :: AFK.Keycode.Key.t() | AFK.Keycode.Modifier.t()