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

Set ADC range/accuracy of joysticks/axis. #450

Open
SlinkySlonkyOlivia opened this issue Aug 22, 2024 · 0 comments
Open

Set ADC range/accuracy of joysticks/axis. #450

SlinkySlonkyOlivia opened this issue Aug 22, 2024 · 0 comments
Labels
Feature New feature or request

Comments

@SlinkySlonkyOlivia
Copy link

Is your feature request related to a problem? Please describe.
The issue is that the library is coded for -127/128 int value, 8bit. While many SoC's have 12bit ADCs or better. (I'm using an ESPS2 at the moment)

Describe the solution you'd like
An easy and clear way to change the settings of these values for the gamepad portion of the library.

Describe alternatives you've considered
Editing the library itself to use int_12t instead of the currently used int_8t.

Additional context
Joysticks and triggers for gamepads usually don't need more than 256 values for most casual games, but depending on the game (like simracing, or a shooter) having more accuracy can be the difference between having an enjoyable time, or not being able to pinpoint why the controller feels bad to play on but knowing you're not at fault.

@SlinkySlonkyOlivia SlinkySlonkyOlivia added the Feature New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant