Skip to content

Add gaming mode features with edge switching support - #303

Open
rupebac wants to merge 2 commits into
hrvach:mainfrom
rupebac:Gaming_Switch
Open

Add gaming mode features with edge switching support#303
rupebac wants to merge 2 commits into
hrvach:mainfrom
rupebac:Gaming_Switch

Conversation

@rupebac

@rupebac rupebac commented Dec 4, 2025

Copy link
Copy Markdown

Here I am adding 2 functionalities... One is a switch in the config and config.htm to start the board in gaming mode. The other is a mechanism to switch screen in gaming mode (aka relative) with just the mouse... The idea is, moving the mouse towards one direction more than a threshold (configurable) in less than some time window (configurable), makes it switch over... I would like a review, and possible new ideas to improve it, I am thinking to add a "constraint" on the vertical space (so it switches if the vertical position did not jump more than some threshold).

@rupebac

rupebac commented Dec 5, 2025

Copy link
Copy Markdown
Author

I have improved it furthermore... I have added a constraint for max vertical movement allowed.. and move the threshold and max time window inside the OUTPUT to make it device specific... and some other minor stuff that was overflowing...

This is how it looks:

https://youtu.be/fPdUggz8nmY

I am quite happy now... If you guys see room for improvement or anything, I am all open.

@Anonmusus

Copy link
Copy Markdown

This looks like exactly what I am looking for. Any chance you could share a pre-built .uf2 with this change? I'd love to test it but don't have the Pico SDK set up or knowledge regarding that.

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