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

Method is_usb_keycode

src/key_codes.rs:388–390  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

386
387impl KeyCodeInfo for u32 {
388 fn is_usb_keycode(self) -> bool {
389 return UNICODE_BELOW_256 <= self && self <= UNICODE_BELOW_256 + 0xE7; //RGui
390 }
391 fn is_private_keycode(self) -> bool {
392 return UserKey::UK0.to_u32() <= self && self <= UserKey::UK99.to_u32(); //RGui
393 }

Callers 1

process_keysMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected