Docs.rs
keyboard-layouts-0.3.0
keyboard-layouts 0.3.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
chris-ricketts
Dependencies
bytes ^0.4
normal
gen_layouts_sys ^0.3.0
normal
log ^0.4.5
normal
structopt ^0.2
normal
bytes ^0.4
dev
futures ^0.1.15
dev
lazy_static ^1.2.0
dev
maplit ^1.0.1
dev
pretty_assertions ^0.5.1
dev
tokio-core ^0.1.9
dev
tokio-linux-uhid ^0.3.0
dev
Versions
25%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
keyboard_
layouts
0.3.0
All Items
Crate Items
Structs
Enums
Constants
Functions
Crate
keyboard_layouts
Copy item path
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.