hrvach / deskhop

Fast Desktop Switching Device
GNU General Public License v3.0
6.44k stars 188 forks source link

FPS/Games behaviour #105

Closed Bunny-Head closed 5 months ago

Bunny-Head commented 5 months ago

Hey!

After receiving it today it's working better than I expected, the "jump" between screens is amazing! Unfortunately, I run out Doom to see how well it worked and I had two issues:

BTW, is there a way to customize shortcuts?

Thank you!

hrvach commented 5 months ago

For now, you can redefine shortcuts in keyboard.c and recompile. Upcoming version (in testing) has a GUI for configuration and the plan is to move the keyboard shortcuts there, so you can redefine it however you want.

I am clueless about games, but I will try making a passthrough / game mode. that prevents weird mouse behaviour with FPS.

Sorry for the slow progress, work is crazy and personal time is scarce.

Bunny-Head commented 5 months ago

Thank you so much! I am aware that this projects are made out of passion and it take time to fix thing so please, don't apologize for that - In fact I feel a little useless as I don't know how to do this kind of things and I always want to help the only way I (almost) can: Giving feedback.

Will the GUI be "net" base like other projects that also use Pi like GP2040 arcade PCB project? Just asking out of curiosity.

Again, thank you for your hard work! Have been using it for the first day today and I can tell you already that this is a life changer.

hrvach commented 5 months ago

Nope, not IP based because that would add soooo much overhead. It's leveraging the same HID routines used for keyboard/mouse on the box side and WebHID on the browser side (https://developer.mozilla.org/en-US/docs/Web/API/WebHID_API).

It is a bit experimental and not widely supported, but shoving rndis/ip stack/server/cgi in there would be an exceptional amount of overhead. Similar thing is used by QMK, but this one serves the file from a local usb drive, so you can build it yourself, execute locally and make sure it never left your computer.