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

Support for gaming? #49

Closed
STRIKERnz opened this issue Feb 21, 2024 · 16 comments
Closed

Support for gaming? #49

STRIKERnz opened this issue Feb 21, 2024 · 16 comments
Labels
enhancement New feature or request

Comments

@STRIKERnz
Copy link

STRIKERnz commented Feb 21, 2024

Will this ever work with games? I know this is not the main demographic for this. I wanted to use deskhop with my main PC and a second PC that I use for media/study. I've been using Synergy but found deskhop and would love to use it over software. However after putting one together and attempting to play any games I found you can't move your mouse more then a few degrees, making playing anything with Keyboard and mouse not really practical.

@hrvach
Copy link
Owner

hrvach commented Feb 22, 2024

It would work with something like implementing a full mouse passthrough mode. I'm trying to look into improving support for keyboards/mice currently and perhaps multiple screens on win/mac currently, let me add this to the planned features list.

@hrvach hrvach added the enhancement New feature or request label Mar 7, 2024
@ozwin2
Copy link

ozwin2 commented Mar 19, 2024

hey, sorry this is likely the wrong channel for this (dont know how to navigate to the planned features list), but was this something that was being looked at? kinda confused about "can't move your mouse more than a few degrees", what exactly does that mean? if gaming through the deskhop would it work fine by locking (Control+L) to the gaming system, so then the mouse wont jump across to the other system, or is this more that when playing Fullscreen your mouse disappears so that you mouse doesn't ever get to the edge to move across to the other system from the gaming system, unless the game is paused when the mouse pointer becomes visible again and so the mouse can move from the gaming system to the other system?

@STRIKERnz STRIKERnz reopened this Mar 19, 2024
@STRIKERnz
Copy link
Author

STRIKERnz commented Mar 19, 2024

So, both full screen and non full screen games were doing this. Even with the mouse locked to the gaming system, It would only allow a small range of movement within that system's 1920x1080 area/box. It wasn't moving between screens but rather just a small area of range of movement. I'm assuming because most games hide the mouse cursor but still have free rain to move the cursor more then to the edges of a 1920x1080 box. You end up with a very narrow area to move around with.

Opps, I couldn't comment without commenting and closing.

@ozwin2
Copy link

ozwin2 commented Mar 19, 2024

ahh i understand, so i presume this is still the case? i guess in simple terms an if statement of: if full screen do not move cursor between systems else allow movement. obviously don't know how hard that would be to implement in code.

@STRIKERnz
Copy link
Author

STRIKERnz commented Mar 19, 2024

Here is an example video you can only move the mouse within a box.

@ozwin2
Copy link

ozwin2 commented Mar 20, 2024

Oh man, that's unusable like that haha!

@hrvach
Copy link
Owner

hrvach commented Mar 20, 2024

I don't know how games usually do input, but providing absolute mode data is probably not making them happy :). There is a tiny bit of hope though - I managed to get macos workaround for multiple monitors to work and that implies having another relative mouse device. This will also be used in windows for the same reason and could also be used to run a "gaming mode" of a sort. That would mimic the way your existing mouse works and I'm guessing games would be OK with that.

Will try to implement a gaming mode, let's call it a stretch goal :)

@Earthling-Z3R0
Copy link

Gaming works for me on Linux when I use wine 8.10. Any other version I tried has the same issue the OP mentioned.

@Earthling-Z3R0
Copy link

Updating my own statement:
After having tried a couple more games I need to say that it doesn't work so well. My main game is EverQuest and that works just fine using wine 8.10 but other games require a directly plugged in mouse. I hope the gaming mode stretch goal will become a reality at one point :)

@MakeNModify
Copy link

I did not test it but would imagine the main problem is for First (and Third) Person games, where you can "rotate" into one direction by constantly moving your mouse into one direction. That works for relative movement but for absolute movements you'll hit a wall. I would propose to make a hotkey to lock the deskhop to the current output and switch to relative movement and switch back on another push.
(Am currently waiting for parts and look into it when I've build it)

@hrvach
Copy link
Owner

hrvach commented Aug 4, 2024

I've been working on deskhop-gaming-test.zip because apparently a lot of people would find this feature useful. This is just a test release, not a daily driver but I'd really appreciate some gamer feedback from you folks. (@STRIKERnz @Earthling-Z3R0 @MakeNModify and others).

Left shift + right shift + G will lock the mouse to the current output and switch it to standard relative mouse. Pressing this again will revert to the "normal" deskhop mode.

Please be so kind to focus on scenario a) where machine you're gaming on is connected to the same PICO board where the mouse plugs in and scenario b) machine you're gaming on is connected to the pico where the keyboard plugs in.

Would this be acceptable for gaming? Thanks!

@superbreadi
Copy link

Hi it works perfectly for me! Also my other issue with widescreensupport #131 (comment) is also fixed in gaming mode

@STRIKERnz
Copy link
Author

STRIKERnz commented Aug 7, 2024

I've been working on deskhop-gaming-test.zip because apparently a lot of people would find this feature useful. This is just a test release, not a daily driver but I'd really appreciate some gamer feedback from you folks. (@STRIKERnz @Earthling-Z3R0 @MakeNModify and others).

Left shift + right shift + G will lock the mouse to the current output and switch it to standard relative mouse. Pressing this again will revert to the "normal" deskhop mode.

Please be so kind to focus on scenario a) where machine you're gaming on is connected to the same PICO board where the mouse plugs in and scenario b) machine you're gaming on is connected to the pico where the keyboard plugs in.

Would this be acceptable for gaming? Thanks!

Works fine in both scenarios for me and I would use it like that. Is there a way to increase the mouse sensitivity? I just notice while using Deskhop that the sensitivity is probably half of my normal sens.

@nathank07
Copy link

I've been working on deskhop-gaming-test.zip because apparently a lot of people would find this feature useful. This is just a test release, not a daily driver but I'd really appreciate some gamer feedback from you folks. (@STRIKERnz @Earthling-Z3R0 @MakeNModify and others).

Left shift + right shift + G will lock the mouse to the current output and switch it to standard relative mouse. Pressing this again will revert to the "normal" deskhop mode.

Please be so kind to focus on scenario a) where machine you're gaming on is connected to the same PICO board where the mouse plugs in and scenario b) machine you're gaming on is connected to the pico where the keyboard plugs in.

Would this be acceptable for gaming? Thanks!

Works for me on MacOS/Linux and fixes my issues with X. Would love to see this added as a feature in the future!

@hrvach
Copy link
Owner

hrvach commented Aug 14, 2024

It will definitely be added as a feature, probably next release (as soon as I find a few free hours).

@hrvach
Copy link
Owner

hrvach commented Aug 24, 2024

This was released in 0.63, closing as complete.

@hrvach hrvach closed this as completed Aug 24, 2024
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

7 participants