View Source AFK.Keycode.KeyLock (afk v0.3.2)

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

Pressing the KeyLock key first, and then any other key, will lock the second key as if it were being held down. Think of this like Caps Lock, but for any key.

Link to this section Summary

Functions

Creates a KeyLock keycode.

Link to this section Types

@type t() :: %AFK.Keycode.KeyLock{}

Link to this section Functions

@spec new() :: t()

Creates a KeyLock keycode.

examples

Examples

iex> new()
%AFK.Keycode.KeyLock{}