API Reference afk v0.3.2

modules

Modules

AFK

A library for modeling the internal state of a computer keyboard.

Defines a behaviour for converting an AFK.State struct into a binary USB HID report.

Implements the AFK.HIDReport behaviour to produce a standard 6-key rollover USB keyboard HID report.

A keycode represents a key that when pressed affects the keyboard state in some way.

Represents a basic keyboard keycode, like letters, numbers, etc.

KeyLock allows you to lock any key as if you were holding it down.

Represents a key that can activate other layers on and off in various ways.

MFA allows you to call arbitrary Elixir code from key presses.

Represents a basic modifier keycode, like control, shift, etc.

Represents a key that does nothing when pressed.

Represents a key that is transparent to its layer.

A keymap represents the virtual key layout of a keyboard.

A GenServer process representing the current state of the keyboard.