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

Add ClockworkPi DevTerm (SDL2) #926

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

xordspar0
Copy link
Contributor

Please be patient with me as I'm just figuring this out.

  1. I only provided config for sdl2 because I have only figured out how to configure this device with sdl2 so far.
  2. Is there a way to enable analog to digital conversion by default? This controller has a d-pad that's wired up as a pair of analog axes.

@hizzlekizzle
Copy link
Contributor

you should be able to just assign them to retropad-up/down/left/right instead of the retropad analogs, regardless of whether the pad sees them as analog or digital.

@xordspar0
Copy link
Contributor Author

I tried that by doing this:

- input_l_y_minus_axis = "-1"
- input_l_y_plus_axis = "+1"
- input_l_x_minus_axis = "-0"
- input_l_x_plus_axis = "+0"
+ input_up_btn = "-1"
+ input_down_btn = "+1"
+ input_left_btn = "-0"
+ input_right_btn = "+0"

But that didn't work. That made my d-pad do nothing. Retroarch doesn't seem to recognize axes as an option for mapping to buttons.

@hizzlekizzle
Copy link
Contributor

hizzlekizzle commented Oct 1, 2023

It would be input_*_axis rather than input_*_btn in this case.

EDIT: oy, markdown mangled that. trying again.

@xordspar0
Copy link
Contributor Author

Ah, that works perfectly, thanks!

@RobLoach RobLoach changed the title Add ClockworkPi DevTerm (SDL2) Add ClockworkPi DevTerm Oct 6, 2023
@RobLoach RobLoach merged commit 0ce2aa1 into libretro:master Oct 6, 2023
1 check passed
@RobLoach RobLoach changed the title (SDL2) Add ClockworkPi DevTerm Add ClockworkPi DevTerm (SDL2) Oct 6, 2023
@xordspar0 xordspar0 deleted the patch-1 branch October 6, 2023 22:55
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

Successfully merging this pull request may close these issues.

3 participants