Skip to content

Add a buttonmap for the RG35XXSP.#14

Merged
haoict merged 2 commits intohaoict:masterfrom
Acedio:master
Mar 25, 2026
Merged

Add a buttonmap for the RG35XXSP.#14
haoict merged 2 commits intohaoict:masterfrom
Acedio:master

Conversation

@Acedio
Copy link
Copy Markdown
Contributor

@Acedio Acedio commented Mar 24, 2026

Hello haoict!

This change adds a buttonmap for the RG35XXSP. It seems like the SP (at least on my Knulli install) exposes the d-pad as a joystick hat rather than buttons like the other BR2 devices. I've added some handling for this case to synthesize the button events that SimpleTerminal expects. It currently just assumes Joystick 0 and Hat 0, though this could be made more robust if needed.

I'm unsure if the hat d-pad is a Knulli-specific thing. Feel free to ignore this pull-request if it's not relevant to your platform!

Cheers,
Josh

Acedio added 2 commits March 24, 2026 22:07
The SP, at least in Knulli, treats the d-pad as a joystick hat, which
requires translation to the button presses that SimpleTerminal expects.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

@Acedio is attempting to deploy a commit to the Hao Nguyen's projects Team on Vercel.

A member of the Team first needs to authorize it.

@haoict
Copy link
Copy Markdown
Owner

haoict commented Mar 25, 2026

cool, thanks!

@haoict haoict merged commit 7b26d9c into haoict:master Mar 25, 2026
1 of 2 checks passed
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.

2 participants