XInput
Documentation for XInput.
XInput.XInput
XInput.BUTTONS_BITMASKS
XInput.xinput
XInput.BatteryInformation
XInput.DeviceNotConnectedError
XInput.Gamepad
XInput.State
XInput.Vibration
Base.:==
XInput.get_battery_information
XInput.get_buttons
XInput.get_state
XInput.rumble
XInput.rumble
XInput.rumble
XInput.rumble
XInput.XInput
— Module🎮 a Julia interface to the gamepad / (xbox-)controller win32 API.
XInput.BUTTONS_BITMASKS
— Constant🔢🎭 a mapping from buttons (see Gamepad
) to their corresponding bitmasks.
XInput.xinput
— Constant📚 dynamic/shared library name.
XInput.BatteryInformation
— Type🔋 information on battery type and charge state.
XInput.DeviceNotConnectedError
— Type🛜🙅 Error indicating connection problems to a controller.
XInput.Gamepad
— Type🎮 gamepad input.
XInput.State
— Type📦 a Gamepad
input state wrapper.
XInput.Vibration
— Type📳 motor speed levels for the vibration function of a controller.
Base.:==
— Method❓ check if two input State
s have not changed.
XInput.get_battery_information
— Functionget_battery_information(device::Integer=0)::BatteryInformation
🪫 retrieve the battery type and charge status of a wireless controller.
XInput.get_buttons
— Method#️⃣ extract the list of pressed buttons from input.buttons
.
XInput.get_state
— Functionget_state(device::Integer=0)::State
🎮 retrieve the current State
of the specified controller.
XInput.rumble
— FunctionSet the left and right motor speed directly using floats in the range 0 - 1.
XInput.rumble
— FunctionSet the left and right motor speed directly using integers in the range 0 - 65,535.
XInput.rumble
— FunctionSet the left and right motor speed using a Vibration
struct
XInput.rumble
— Function📳 set the rumble-motor vibration strength of a controller.