MCPcopy Create free account
hub / github.com/TyberiusPrime/KeyToKey / Modifier

Enum Modifier

src/lib.rs:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#[repr(u8)]
27#[derive(PartialEq, Eq, Hash, Copy, Clone)]
28pub enum Modifier {
29 Shift = 0,
30 Ctrl = 1,
31 Alt = 2,
32 Gui = 3,
33}
34
35const KEYBOARD_STATE_RESERVED_BITS: usize = 5;
36const ABORT_BIT: usize = 4;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected