Crates.io | vjoy-sys |
lib.rs | vjoy-sys |
version | 0.4.1 |
source | src |
created_at | 2023-04-04 21:23:12.072314 |
updated_at | 2023-06-24 08:48:51.901607 |
description | Rust bindings to vJoy - a virtual input device driver for Windows |
homepage | |
repository | https://github.com/ArrowMaxGithub/vjoy-sys |
max_upload_size | |
id | 830471 |
size | 40,136 |
Rust bindings to vJoy via bindgen. Built against version 2.1.9.1
vJoy simulates up to 16 input devices with up to 128 buttons, 8 axes, and 4 hat switches (4-way or continuous). The virtual devices can be used to
The vJoy driver version 2.1.9.1 needs to be installed and is only available for Windows.
The vJoy shared library is loaded at runtime via libloading. See the sanity test for specifics.
For a new version of vJoy, the header files in /vjoy have be replaced and may have to be modified (e.g. redefine typedefs, insert "enum" keyword, remove unused includes etc.) to work with bindgen - as of this verison the original C headers resulted in various bindgen errors during build.