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

Fix horizontal scroll and extended key codes #4

Merged
merged 2 commits into from
Oct 29, 2021

Conversation

zmb3
Copy link

@zmb3 zmb3 commented Oct 28, 2021

This library includes support for sending horizontal mouse wheel events,
but it forgets to send the TsInputFlagMouseHwheel capability to the
server when the connection is established.

See https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/b3bc76ae-9ee5-454f-b197-ede845ca69cc

Updates: gravitational/teleport#8742
See also: gravitational/webapps#437

zmb3 and others added 2 commits October 28, 2021 09:11
This library includes support for sending horizontal mouse wheel events,
but it forgets to send the TsInputFlagMouseHwheel capability to the
server when the connection is established.

See https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/b3bc76ae-9ee5-454f-b197-ede845ca69cc

Updates: gravitational/teleport#8742
See also: gravitational/webapps#437
Copy link

@russjones russjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bot.

@@ -362,13 +362,13 @@ pub enum InputFlags {
InputFlagFastpathInput = 0x0008,
/// In order to send keyboard scancode
/// We can send directly UNICODE code of char
/// Usefull if we want to send script
/// Useful if we want to send script

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are Rust comments really three ///?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc comments, yes. Regular comments no.

@zmb3 zmb3 merged commit 755e950 into master Oct 29, 2021
@zmb3 zmb3 deleted the zmb3/horizontal-mouse-wheel branch October 29, 2021 15:24
zmb3 added a commit to gravitational/teleport that referenced this pull request Oct 29, 2021
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
zmb3 added a commit to gravitational/teleport that referenced this pull request Nov 1, 2021
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
zmb3 added a commit to gravitational/teleport that referenced this pull request Nov 1, 2021
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
zmb3 added a commit to gravitational/teleport that referenced this pull request Nov 1, 2021
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
zmb3 added a commit to gravitational/teleport that referenced this pull request Nov 2, 2021
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
zmb3 added a commit to gravitational/teleport that referenced this pull request Nov 3, 2021
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
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.

4 participants