Add LI_CTYPE_STEAM controller type

This commit is contained in:
Drackrath
2026-08-18 08:56:42 +02:00
committed by Cameron Gutman
parent 518b244152
commit 874ac9548f
+1
View File
@@ -773,6 +773,7 @@ int LiSendMultiControllerEvent(short controllerNumber, short activeGamepadMask,
#define LI_CTYPE_XBOX 0x01
#define LI_CTYPE_PS 0x02
#define LI_CTYPE_NINTENDO 0x03
#define LI_CTYPE_STEAM 0x04 // Valve Steam Controller (Xbox-style layout plus dual touchpads, gyro/accel and grip buttons)
#define LI_CCAP_ANALOG_TRIGGERS 0x01 // Reports values between 0x00 and 0xFF for trigger axes
#define LI_CCAP_RUMBLE 0x02 // Can rumble in response to ConnListenerRumble() callback
#define LI_CCAP_TRIGGER_RUMBLE 0x04 // Can rumble triggers in response to ConnListenerRumbleTriggers() callback