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