Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting incorrect response in code output from events #22

Open
felipemedlev opened this issue May 24, 2021 · 0 comments
Open

Getting incorrect response in code output from events #22

felipemedlev opened this issue May 24, 2021 · 0 comments

Comments

@felipemedlev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant