1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(clippy::missing_safety_doc)]
5
6pub const AXES_DISPLAY_NAMES: [&str; 8] =
7 ["X", "Y", "Z", "Rx", "Ry", "Rz", "Slider", "Dial/Slider2"];
8pub const AXES_HID_USAGE: [u32; 8] = [0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37];
9
10use windows_sys::core::GUID;
11
12pub const GUID_DEVINTERFACE_VJOY: GUID = GUID {
13 data1: 0x781EF630,
14 data2: 0x72B2,
15 data3: 0x11D2,
16 data4: [0xB8, 0x52, 0x00, 0xC0, 0x4F, 0xAD, 0x51, 0x01],
17};
18
19#[cfg(target_os = "windows")]
20include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
21
22#[cfg(not(target_os = "windows"))]
23struct WindowsOnlyLib {}