Expand description
§🦀 thindx::xinput - Thin XInput 🦀
Thin safe xinput wrapper:
Types, fns, tests, real docs, intellisense, examples, debug visualizers, …
§License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Re-exports§
pub use error::Error;
Modules§
- XInput constants/functions that have yet to be implemented, or will not be implemented.
- [
microsoft.com] XUSER_*
Structs§
- [microsoft.com] Audio device ids retrieved with
get_audio_device_ids
- [microsoft.com] BATTERY_DEVTYPE_*
- [microsoft.com] XINPUT_BATTERY_INFORMATION
- [microsoft.com] BATTERY_LEVEL_*
- [microsoft.com] BATTERY_TYPE_*
- [microsoft.com] XINPUT_GAMEPAD_*
- [microsoft.com] XINPUT_CAPABILITIES
- [microsoft.com] XINPUT_CAPS_*
- [microsoft.com] DirectSound audio device GUID retrieved with
get_dsound_audio_device_guids
- [microsoft.com] DirectSound audio device GUIDs retrieved with
get_dsound_audio_device_guids
- [microsoft.com] XINPUT_DEVSUBTYPE_*
- [microsoft.com] XINPUT_DEVTYPE_*
- [microsoft.com] XINPUT_FLAG_*
- [microsoft.com] XINPUT_GAMEPAD
- [microsoft.com] XINPUT_KEYSTROKE
- [microsoft.com] XINPUT_KEYSTROKE_*
- [microsoft.com] XINPUT_STATE
- [microsoft.com] VK_* values specific to Xbox 360 controllers
- [microsoft.com] XINPUT_VIBRATION
Functions§
- [microsoft.com] XInputEnable (1.1+)
- [microsoft.com] XInputGetAudioDeviceIds (1.4+)
- [microsoft.com] XInputGetBatteryInformation (1.3+)
- [microsoft.com] XInputGetCapabilities
- get_dsound_audio_device_guidsDeprecated[microsoft.com] XInputGetDSoundAudioDeviceGuids (..= 1.3)
- [microsoft.com] XInputGetKeystroke (1.3+)
- [microsoft.com] XInputGetState
- get_state_ex
undocumented
[microsoft.com] XInputGetStateEx (1.3 ..= 1.4) - power_off_controller
undocumented
[microsoft.com] XInputPowerOffController (1.3 ..= 1.4) - [microsoft.com] XInputSetState