vkey 0.2.1

Virtual Keycodes of Windows, Linux, and MacOS
Documentation

VKey

This crates only contains various types of virtual keycodes, and conversions between them.

This crate is under heavy development, and subject to breaking changes.

  • Vk from winput
  • VIRTUAL_KEY from windows
  • enigo::Key from enigo (partially done)
  • CGKeyCode from macos
  • Usage from hut
  • winit::KeyCode from winit (only definitions)
  • xkeysym::KeyCode from xkeysym

Following conditions are considered as BUG:

  • If any type cannot be accessed from any platform.
  • if any type could not be converted to another type.
  • if any "mirrored" type is not synced with "underlying" type.

Limitations

we would also like to add conversion between "mirrored" types and "underlying" types.