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

2 joy 16 b #61

Open
Brandy0841 opened this issue May 28, 2024 · 3 comments
Open

2 joy 16 b #61

Brandy0841 opened this issue May 28, 2024 · 3 comments

Comments

@Brandy0841
Copy link

Nice work, congratulations. I have a question. Is it possible to make a steering wheel with 2 joysticks and 16 buttons? It would be nice to be able to use 2 joysticks for games like farming simulator and snowrunner. Thanks! @vsulako

@vsulako
Copy link
Owner

vsulako commented Jun 16, 2024

I don't understand what do you mean by 2 joysticks. Are they thumbsticks?
Gaming controller can have up to 8 analog axes. 1 axis is wheel, 3 are for pedals, and there are 4 spare axes, so nothing prevents from connecting 2 thumbsticks (2 axes each).

@Ertugrulbabaci
Copy link

I don't understand what do you mean by 2 joysticks. Are they thumbsticks? Gaming controller can have up to 8 analog axes. 1 axis is wheel, 3 are for pedals, and there are 4 spare axes, so nothing prevents from connecting 2 thumbsticks (2 axes each).

Is the maximum limit that Arduino can take 8 axes or is it related to the codes written? For example, can't you change the codes to 10 axes?

@vsulako
Copy link
Owner

vsulako commented Jun 24, 2024

It is DirectInput limitation. Windows will only recognize up to 8 axes and 128 buttons in a single HID gaming controller, even if more are declared, excess ones will not work.
Also, there are only 8 axis names in HID specifications for a generic controller: x,y,z, rx,ry,rz, slider,dial. May be it matters too.

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

3 participants