Rewired_Windows Events ::SDL_USEREVENT through ::SDL_LASTEVENT are for your use, and should be allocated with SDL_RegisterEvents() This last event is only for bounding internal arrays \brief Fields shared by every event \brief Window state change event data (event.window.*) \brief Keyboard button event structure (event.key.*) \brief Keyboard text editing event structure (event.edit.*) \brief Mouse motion event structure (event.motion.*) \brief Mouse button event structure (event.button.*) \brief Mouse wheel event structure (event.wheel.*) \brief Joystick axis motion event structure (event.jaxis.*) \brief Joystick trackball motion event structure (event.jball.*) \brief Joystick hat position change event structure (event.jhat.*) \brief Joystick button event structure (event.jbutton.*) \brief Joystick device event structure (event.jdevice.*) \brief Game controller axis motion event structure (event.caxis.*) \brief Game controller button event structure (event.cbutton.*) \brief Controller device event structure (event.cdevice.*) \brief Touch finger event structure (event.tfinger.*) \brief Multiple Finger Gesture Event (event.mgesture.*) \brief Dollar Gesture Event (event.dgesture.*) \brief An event used to request a file open by the system (event.drop.*) This event is disabled by default, you can enable it with SDL_EventState() \note If you enable this event, you must free the filename in the event. \brief The "quit requested" event \brief OS Specific event \brief A user-defined event type (event.user.*) \brief A video driver dependent system event (event.syswm.*) This event is disabled by default, you can enable it with SDL_EventState() \note If you want to use this event, you should include SDL_syswm.h. \brief General event structure \name Usage page 0x07 These values are from usage page 0x07 (USB keyboard page). \name Usage page 0x0C These values are mapped from usage page 0x0C (USB consumer page). \name Walther keys These are values that Christian Walther added (for mac keyboard?). The value returned cannot be used to iterate! Always use GetJoystickCount! Number of Game Controllers Convert from +/- 32768 to +/- 1.0f Direct Input device type. Direct Input device axis mode. Direct Input input range. Minimum value of this range Maximum value of this range Provides information about a Raw Input device. Instance Guid. Product Guid. Gets or sets the friendly instance name of the device. This property exists for advanced applications that want to change the friendly instance name of a device (as returned in the tszInstanceName member of the structure) to distinguish it from similar devices that are plugged in simultaneously. Most applications should have no need to change the friendly name. Gets or sets the friendly product name of the device. This property exists for advanced applications that want to change the friendly product name of a device (as returned in the tszProductName member of the structure) to distinguish it from similar devices which are plugged in simultaneously. Most applications should have no need to change the friendly name. This setting applies to the entire device. Setting the product name is only useful for changing the user-defined name of an analog joystick on Microsoft Windows 98, Windows 2000, and Windows Millennium Edition (Windows Me) computers. In other cases, attempting to set this property will still return ok. However, the name is not stored in a location used by the getter of this property. Force feedback driver Guid. HID usage page. HID usage. Direct Input device type. Direct Input device sub type. Direct Input raw type. Is the device a HID? Gets or sets the axis mode. Gets or sets the input buffer size. The buffer size determines the amount of data that the buffer can hold between calls to GetDeviceData before data is lost. You can set this value to 0 to indicate that the application does not read buffered data from the device. If the buffer size is too large for the device to support it, then the largest possible buffer size is set. However, this property always returns the buffer size set using the BufferSize property, even if the buffer cannot be supported because it is too large. Gets the class GUID for the device. This property lets advanced applications perform operations on a human interface device that are not supported by DirectInput. Gets or sets the force feedback gain of the device. The gain value is applied to all effects created on the device. The value is an integer in the range from 0 through 10,000, specifying the amount by which effect magnitudes should be scaled for the device. For example, a value of 10,000 indicates that all effect magnitudes are to be taken at face value. A value of 9,000 indicates that all effect magnitudes are to be reduced to 90 percent of their nominal magnitudes. DirectInput always checks the gain value before setting the gain property. If the gain is outside of the range (less than zero or greater than 10,000), setting this property will raise an exception. Otherwise, no exception if successful, even if the device does not support force feedback. Setting a gain value is useful when an application wants to scale down the strength of all force-feedback effects uniformly, based on user preferences. Unlike other properties, the gain can be set when the device is in an acquired state. Gets the device interface path for the device. This property lets advanced applications perform operations on a human interface device that are not supported by DirectInput. Gets the instance number of a joystick. This property is not implemented for the mouse or keyboard. Gets the product ID of a HID device. This property applies to the entire device, rather than to any particular object. Gets the vendor id of a HID device. This property applies to the entire device, rather than to any particular object. Provides information about a Raw Input device. HID device handle. Raw Input device handle. HID device path string. HID product name string. HID manufacturer string. HID vendor id. HID product id. HID product Guid. This is a Guid created from the Product Id and Vendor Id in the format: PID-VID-0000-0000-0000-504944564944 Is the device a Bluetooth device? Bluetooth device name string. HID hub id. HID port id. HID usage page. HID usage. Describes the capabilities of a connected controller. Voice is supported. None. Device type. Gamepad. Device sub type. Gamepad. Wheel. ArcadeStick. FlightStick. DancePad. Guitar. GuitarAlternate. DrumKit. GuitarBass. ArcadePad. Provides information about an I/O Kit device. XInput user index. Capability flags. Device type. Device sub type. Windows Gaming Input device type. Unknown device type. Gamepad device type. Provides information about a Windows Gaming Input device. Windows Gaming Input device type. Native pointer to the device object. Note: This will always return IntPtr.Zero on UWP when using .NET scripting backend. Non roamable id. Determines if the device is wireless. HID product name string. HID manufacturer string. HID vendor id. HID product id. HID usage page. HID usage.