xbox360controller
xbox360controller copied to clipboard
Getting incorrect response in code output from events
I tested the example code and I saw some inconsistencies. I realized that when I move the axis_r on the joystick, it shows on the output that axis trigger_r is moved. When I move axis trigger_left it shows that I'm moving the right trigger and when I move axis trigger_right it shows that axis_r is moved only on the vertical axis.
This is what controller.info() displays:
Xbox Wireless Controller at index 0
Axes: 5
axis_l
axis_r
hat
trigger_l
trigger_r
Buttons: 11
button_a
button_b
button_x
button_y
button_trigger_l
button_trigger_r
button_select
button_start
button_mode
button_thumb_l
button_thumb_r
Rumble: yes
Driver version: 2.1.0 1.0.1
Everything else works fine. I've reinstalled all libraries, and I'm currently using python 3.8 virtual env. Any help would be appreciated.