Skip to content

Commit

Permalink
fix(macos): Let the managed side know about the pointerDeviceType
Browse files Browse the repository at this point in the history
  • Loading branch information
spouliot committed May 22, 2024
1 parent 30014dd commit e0b87bc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ - (void)sendEvent:(NSEvent *)event {
}
}
#endif
data.pointerDeviceType = pdt;
// mouse
data.mouseButtons = (uint32)NSEvent.pressedMouseButtons;

Expand Down

0 comments on commit e0b87bc

Please sign in to comment.