Is there any good reason for Steam Controllers not being considered a GameController in SDL2?
While running some tests, that include opening the device as a
SDL_Joystick and map the buttons myself. I was able to get all available input working, hence I ask:
why not Steam Controllers are identified as a GameController?
To show some info, the application output is:
INFO: main: 1 joysticks found INFO: main: Not GameController 0: #ax: 4, #but: 21, #hat: 2, #ball: 0 -- 03000000de2800004211000011010000 -- Wireless Steam Controller INFO: Joystick added (000000,000000)(000000,000000)oo000000000000000010000 INFO: Closing application INFO: Bye.
The full of
0's line shows:
- [joystick id]
- (axis0, axis1)
- (axis3, axis4)
- o <-- is a hat, it changes to
\/^v,.<>it depends on hat state (in this case there is 2 hats).
00000...each button state,
1pressed. (here I’m pressing the last button, right bumper).
Moreover, besides it reports 21 buttons, I could not find the last 4 buttons anywhere. And triggers are also mapped as hats (weird).