EInputActionOrigin
Enumpublic enum EInputActionOriginNote: Please do not use action origins as a way to identify controller types. There is no guarantee that they will be added in a contiguous manner - use GetInputTypeForHandle instead. Versions of Steam that add new controller types in the future will extend this enum so if you're using a lookup table please check the bounds of any origins returned by Steam.
View sourceIf Steam has added support for new controllers origins will go here.
Origins are currently a maximum of 16 bits.
Steam Controller
Start
Back
PS4 Dual Shock
Back
Start
Added in SDK 1.51
Added in SDK 1.53
Switch - Pro or Joycons used as a single input device. This does not apply to a single joycon
X
With a Horizontal JoyCon this will be Y or what would be Dpad Right when vertical
A
B
Left JoyCon SR Button
Left JoyCon SL Button
Back
Start
Primary Gyro in Pro Controller, or Right JoyCon
Primary Gyro in Pro Controller, or Right JoyCon
Primary Gyro in Pro Controller, or Right JoyCon
Primary Gyro in Pro Controller, or Right JoyCon
Right JoyCon SL Button
Right JoyCon SR Button
Switch JoyCon Specific Right JoyCon Gyro generally should correspond to Pro's single gyro
Right JoyCon Gyro generally should correspond to Pro's single gyro
Right JoyCon Gyro generally should correspond to Pro's single gyro
Right JoyCon Gyro generally should correspond to Pro's single gyro
XBox 360
Back
Start
XBox One
Start
Xbox Series X controllers only
Back