vjoy-sys 0.5.2

Rust bindings to vJoy - a virtual input device driver for Windows
Documentation
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(clippy::missing_safety_doc)]

pub const AXES_DISPLAY_NAMES: [&str; 8] =
    ["X", "Y", "Z", "Rx", "Ry", "Rz", "Slider", "Dial/Slider2"];
pub const AXES_HID_USAGE: [u32; 8] = [0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37];

use windows_sys::core::GUID;

pub const GUID_DEVINTERFACE_VJOY: GUID = GUID {
    data1: 0x781EF630,
    data2: 0x72B2,
    data3: 0x11D2,
    data4: [0xB8, 0x52, 0x00, 0xC0, 0x4F, 0xAD, 0x51, 0x01],
};

#[cfg(target_os = "windows")]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(not(target_os = "windows"))]
/// This library is only available on Windows
struct WindowsOnlyLib {}