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

Feat/input source #6561

Merged
merged 12 commits into from
Nov 29, 2023
Merged

Feat/input source #6561

merged 12 commits into from
Nov 29, 2023

Conversation

fufesou
Copy link
Collaborator

@fufesou fufesou commented Nov 29, 2023

1. Introduce "Input source" option.

**"Input source 1"** uses [rdev](https://github.com/fufesou/rdev), is the default option. 

**"Input source 2"** uses flutter Focus -> onKey https://api.flutter.dev/flutter/widgets/Focus/onKey.html to grab key events. But some system shortcuts like "Alt + Tab", "Command + Tab" cannot be sent to the remote side.
input.source.mp4

2. MacOS, grab tap CGEventTapLocation::HID to CGEventTapLocation::Session. The grabbing states may be reset with this tap.

fufesou/rdev@b3434ca

image

Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
@rustdesk rustdesk merged commit db158e1 into rustdesk:master Nov 29, 2023
18 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.

None yet

2 participants