vkey

Crates.iovkey
lib.rsvkey
version0.2.1
created_at2025-04-06 10:27:00.31625+00
updated_at2025-05-03 08:22:10.029945+00
descriptionVirtual Keycodes of Windows, Linux, and MacOS
homepage
repositoryhttps://github.com/clouds56/vkey-rs
max_upload_size
id1622780
size641,480
Clouds (clouds56)

documentation

https://docs.rs/vkey

README

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.

Commit count: 50

cargo fmt