Ok, sorry, I didnt read the joystick section. By the debug info it detects the gamepad. But
gamepad = base.devices.getDevices(InputDevice.DeviceClass.gamepad)[0]
gives me InputDeviceSet index out of range, do I need to do something before that?
the debug info btw
:device(debug): Started input device listener thread.
:device(debug): GIDC_ARRIVAL: \\?\HID#VID_2563&PID_0523#6&3469ea92&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
:device(debug): Successfully loaded hid.dll
:device(debug): Found flight_stick device "PS3/PC Adaptor" with 18 data indices, 2 button caps, 5 value caps
:device(debug): Found button range: DataIndex=5..16, ReportID=0, UsagePage=0x9, Usage=0x1..0xc
:device(debug): Found button: DataIndex=17, ReportID=0, UsagePage=0xff00, Usage=0x1
:device(debug): Found value: DataIndex=0, ReportID=0, UsagePage=0x1, Usage=0x35, LogicalMin=0, LogicalMax=255
:device(debug): Found value: DataIndex=1, ReportID=0, UsagePage=0x1, Usage=0x32, LogicalMin=0, LogicalMax=255
:device(debug): Found value: DataIndex=2, ReportID=0, UsagePage=0x1, Usage=0x31, LogicalMin=0, LogicalMax=255
:device(debug): Found value: DataIndex=3, ReportID=0, UsagePage=0x1, Usage=0x30, LogicalMin=0, LogicalMax=255
:device(debug): Found value: DataIndex=4, ReportID=0, UsagePage=0x1, Usage=0x39, LogicalMin=0, LogicalMax=7
:device(debug): Discovered input device PS3/PC Adaptor (connected), flight_stick, 16 buttons, 4 axes
edit: Oh, I see, it detected it as flight_stick. Can I correct it somehow?
edit:2 Sooo, it gets detected even without the emulator DLL. Triangle which should be button1 is sending trigger and changing the layout in the emulator doesnt change it. Im guessing the reason I need the emulator for games is because they detect it also as flight stick and because of that it doesnt work without the emulator. So I think panda doesnt detect the emulator, which is what I need.