keymaps::usages

Function input3_key_to_hid_usage

Source
pub fn input3_key_to_hid_usage(key: Key) -> u32
Expand description

Converts a [Key] to the corresponding USB HID code.

Note: This is only needed while keyboard input is transitioned away from Scenic.

ยงParameters

  • key: The key to convert to its HID equivalent.