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

Analog value triggers R2 L2 #1278

Open
M0RRiS0on opened this issue Jan 27, 2025 · 1 comment
Open

Analog value triggers R2 L2 #1278

M0RRiS0on opened this issue Jan 27, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@M0RRiS0on
Copy link

Problem

Hello! I’m making ps4 compatible controller
Using base Raspberry Pi Pico
Firmware: GP2040-CE_0.7.10_Pico.uf2
It requires only 1 analog sitck axis and 2 analog triggers, so 3 available ADC pins should be enough, but binding R2/L2 to pins 26/27/28 works only like digital buttons(0/1). ADC pins are fine- tested with Analog stick add-on.

Solution

Is it possible to read analog values for R2/L2?
Maybe I should just use different firmware version, in which such feature enabled? Which one will be suitable?

Thank you in advance!

@M0RRiS0on M0RRiS0on added the enhancement New feature or request label Jan 27, 2025
@mikepparks
Copy link
Contributor

Currently, our Analog addon only supports dual analog sticks via pins 26-29 on the RP2040. With the Pico, since 29 is used by the board itself, you can only use 26-28, as you mentioned, but other boards exist where all four pins are available. However, in order to get full analog compatibility, you will need to use one of the addons that interfaces with a dedicated analog chip. The ADS1256 will support dual analogs plus L2/R2 analog values.

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

No branches or pull requests

2 participants