Crate keyboard_types

source ยท
Expand description

Contains types to define keyboard related events.

The naming and conventions follow the UI Events specification but this crate should be useful for anyone implementing keyboard input in a cross-platform way.

Modulesยง

Structsยง

Enumsยง

  • Code is the physical position of a key.
  • Describes the state of a composition session.
  • Key represents the meaning of a keypress.
  • Describes the state the key is in.
  • The location attribute contains an indication of the logical location of the key on the device.

Functionsยง

  • first_char ๐Ÿ”’
    Return the first codepoint of a string.