Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUWP: More mouse events #24597
Merged
UWP: More mouse events #24597
Conversation
|
With this, we can scroll with a regular trackpad, and rotate in the basic bbjs demo. |
|
r? @jdm I am on le PTO |
| @@ -240,7 +240,7 @@ pub unsafe extern "C" fn move_servo(servo: *mut ServoInstance, x: f32, y: f32) { | |||
| match servo.scroll_state { | |||
| ScrollState::TriggerUp => { | |||
| servo.scroll_state = ScrollState::TriggerUp; | |||
| let _ = call(|s| s.move_mouse(x, y)); | |||
| let _ = call(|s| s.mouse_move(x, y)); | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors-servo r+ |
|
|
bors-servo
added a commit
that referenced
this pull request
Oct 31, 2019
UWP: More mouse events Support more UWP Desktop events (mouse wheel, mouse move, etc). This introduces a new issue, where the basic bbjs demo requires double click to select a color (unrelated to #24530 I believe). Filed #24596. Next step is to properly fire touch events in HoloLens and only mouse events on Desktop (see #24587).
|
|
|
|
@bors-servo r=jdm |
|
|
bors-servo
added a commit
that referenced
this pull request
Nov 1, 2019
UWP: More mouse events Support more UWP Desktop events (mouse wheel, mouse move, etc). This introduces a new issue, where the basic bbjs demo requires double click to select a color (unrelated to #24530 I believe). Filed #24596. Next step is to properly fire touch events in HoloLens and only mouse events on Desktop (see #24587).
|
|
|
@bors-servo retry |
|
|
bors-servo
added a commit
that referenced
this pull request
Nov 1, 2019
UWP: More mouse events Support more UWP Desktop events (mouse wheel, mouse move, etc). This introduces a new issue, where the basic bbjs demo requires double click to select a color (unrelated to #24530 I believe). Filed #24596. Next step is to properly fire touch events in HoloLens and only mouse events on Desktop (see #24587).
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
paulrouget commentedOct 31, 2019
Support more UWP Desktop events (mouse wheel, mouse move, etc).
This introduces a new issue, where the basic bbjs demo requires double click to select a color (unrelated to #24530 I believe). Filed #24596.
Next step is to properly fire touch events in HoloLens and only mouse events on Desktop (see #24587).