1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! XInput constants/functions that have yet to be implemented, or will not be implemented.
//!
//! The functions are all undocumented.
/// A DLL name to feed into `LoadLibrary` etc. - varies based on Windows SDK / DirectX SDK, as well as ambient defines.
/// Since this crate also handles loading from multiple versions automagically under the hood, this isn't terribly necessary.
pub const DLL : &'static str = "xinput_???.dll";
/// Ambient narrow system codepage version of [`DLL`].
/// Presumes the system locale is an ASCII variant, which is a bad assumption.
/// [`abistr`](https://docs.rs/abistr/) could help give this a saner type...?
pub const DLL_A : &'static str = "xinput_???.dll";
/// Ambient wide version of [`DLL`].
/// Would require a dependency on [`abistr`](https://docs.rs/abistr/) or similar.
pub const DLL_W : &'static str = "xinput_???.dll";
/// \[<strike>microsoft.com</strike>\]
/// XInputWaitForGuideButton
/// <span style="opacity: 50%">(1.3 ..= 1.4)</span>
/// \[<strike>microsoft.com</strike>\]
/// XInputCancelGuideButtonWait
/// <span style="opacity: 50%">(1.3 ..= 1.4)</span>
/// \[<strike>microsoft.com</strike>\]
/// XInputGetBaseBusInformation
/// <span style="opacity: 50%">(1.4 only)</span>
/// \[<strike>microsoft.com</strike>\]
/// XInputGetCapabilitiesEx
/// <span style="opacity: 50%">(1.4 only)</span>