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

Hotkey to #60

Open
warpdesign opened this issue Apr 5, 2024 · 1 comment
Open

Hotkey to #60

warpdesign opened this issue Apr 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@warpdesign
Copy link

Describe the Issue

Would be great if there was a way to define an hotkey to switch between computers, for example, assigning an hotkey to a screen/computer so that if the mouse control is on the second computer, pressing this hotkey would bring the mouse/keyboard control to the first computer.

Could be an hotkey to cycle between computers as well that would make the mouse/keyboard control the next connected computer.

@ragauskl
Copy link
Contributor

ragauskl commented Apr 5, 2024

There is a related issue already open: #36

1.7.0-prerelease has an alternative solution for now, but if separate shortcut for switch to displays (and devices) is still wanted I will be looking into adding it.

Actually main reason I did not add it yet is because I was not sure what will be best user experience with multiple devices. As you're using multiple devices, could you share your expectations? If you use or would use couple devices both with multiple displays, what keyboard shortcuts would be most comfortable for you to use to quickly move mouse between displays no matter if they're on same or different device?

These are solutions I've thought about so far:

  • Most simple is to select specific device and display for every separate keyboard shortcut you set up - however displays can't be reliably uniquely identified, as a lot of them may not have a unique identifier and are simply provided in ordered list where order can change if displays are connected in different way/to different ports. So not a great option. Also devices will change order in Cursr context if their local IP address changes
  • Another based on existing open issue is to allow user to define keyboard shortcut and select numbering either 1-9 or A-Z (I was thinking to allow user to define a custom key order). But same issue exists with display and device order which can change
  • Just now I thought that shortcut + arrow keys (or custom defined like WASD) can be used to move mouse to display above/bellow/left/right of where mouse currently is. Cursr cannot know the position of displays but users can already drag and drop displays to represent their real life display layout/setup and Cursr could use that as 'source of truth' for the directional mouse jump to next display

Third solutions seems to make most sense for me and seems to be the most 'predictable' the only small 'but' is if you want to move to 3rd display on right for example, then you'll need to tap the 'arrow' keys multiple times to the right. Thoughts?

@ragauskl ragauskl added the enhancement New feature or request label Apr 5, 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

2 participants