Crate keygraph_rs [] [src]

Structs

DVORAK
Edge

Struct to represent the relative positioning of one key to a neighbouring key

Key

Datatype for graph nodes representing a key on the keyboard.

MAC_NUMPAD
QWERTY_UK
QWERTY_US
STANDARD_NUMPAD

Enums

Direction

Enum representing a direction relative to a key on either the horizontal or vertical axis

Traits

KeySearch

Trait to find a key given a single character from it. This function is useful when you don't know what the locale of the keyboard is as numbers and symbols on a key can change (i.e. UK vs US)

Functions

generate_dvorak

Generates a graph for the dvorak keyboard layout

generate_mac_numpad

Generates the Apple Mac style numpad

generate_qwerty_uk

Generates the graph for the qwerty US keyboard layout

generate_qwerty_us

Generates the graph for the qwerty US keyboard layout

generate_standard_numpad

Generates a standard numpad.

Type Definitions

DiGraphMap

A GraphMap with directed edges.

Keyboard