Crate xinput

Crate xinput 

Source
Expand description

§🦀 thindx::xinput - Thin XInput 🦀

Thin safe xinput wrapper:
Types, fns, tests, real docs, intellisense, examples, debug visualizers, …

GitHub Build Status Last Commit
crates.io docs.rs msrv
Changelog License

§License

Licensed under either of

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§

_doc
Alternative APIs, Assumptions, Alternative Crates, Crate Features, Design Decisions, Environment Variables, XInput Versions
error
Error, Kind, BAD_ARGUMENTS, BUFFER_TOO_SMALL, DEVICE_NOT_CONNECTED, INVALID_FUNCTION
todo
XInput constants/functions that have yet to be implemented, or will not be implemented.
xuser
[microsoft.com] XUSER_*

Structs§

AudioDeviceIds
[microsoft.com] Audio device ids retrieved with get_audio_device_ids
BatteryDevType
[microsoft.com] BATTERY_DEVTYPE_*
BatteryInformation
[microsoft.com] XINPUT_BATTERY_INFORMATION
BatteryLevel
[microsoft.com] BATTERY_LEVEL_*
BatteryType
[microsoft.com] BATTERY_TYPE_*
Buttons
[microsoft.com] XINPUT_GAMEPAD_*
Capabilities
[microsoft.com] XINPUT_CAPABILITIES
Caps
[microsoft.com] XINPUT_CAPS_*
DSoundAudioDeviceGuid
[microsoft.com] DirectSound audio device GUID retrieved with get_dsound_audio_device_guids
DSoundAudioDeviceGuids
[microsoft.com] DirectSound audio device GUIDs retrieved with get_dsound_audio_device_guids
DevSubType
[microsoft.com] XINPUT_DEVSUBTYPE_*
DevType
[microsoft.com] XINPUT_DEVTYPE_*
Flag
[microsoft.com] XINPUT_FLAG_*
Gamepad
[microsoft.com] XINPUT_GAMEPAD
Keystroke
[microsoft.com] XINPUT_KEYSTROKE
KeystrokeFlags
[microsoft.com] XINPUT_KEYSTROKE_*
State
[microsoft.com] XINPUT_STATE
VK
[microsoft.com] VK_* values specific to Xbox 360 controllers
Vibration
[microsoft.com] XINPUT_VIBRATION

Functions§

enable
[microsoft.com] XInputEnable (1.1+)
get_audio_device_ids
[microsoft.com] XInputGetAudioDeviceIds (1.4+)
get_battery_information
[microsoft.com] XInputGetBatteryInformation (1.3+)
get_capabilities
[microsoft.com] XInputGetCapabilities
get_dsound_audio_device_guidsDeprecated
[microsoft.com] XInputGetDSoundAudioDeviceGuids (..= 1.3)
get_keystroke
[microsoft.com] XInputGetKeystroke (1.3+)
get_state
[microsoft.com] XInputGetState
get_state_exundocumented
[microsoft.com] XInputGetStateEx (1.3 ..= 1.4)
power_off_controllerundocumented
[microsoft.com] XInputPowerOffController (1.3 ..= 1.4)
set_state
[microsoft.com] XInputSetState