Crate keyboard_layouts

Source

Structs§

KeyMod

Enums§

Error
Release

Constants§

HID_PACKET_LEN
The number of bytes in a keyboard HID packet

Functions§

available_layouts
Get a list of the supported keyboard layouts
string_to_hid_packets
Create the sequence of HID packets required to type the given string. Impersonating a keyboard with the specified layout. These packets can be written directly to a HID device file.
string_to_keys_and_modifiers
Get a list of the key and modifier pairs required to type the given string on a keyboard with the specified layout.