Skip to content

Commit

Permalink
Edit comment note
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd authored and danisla committed Sep 27, 2023
1 parent 298e5d0 commit d3ce0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selkies_gstreamer/webrtc_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def send_mouse(self, action, data):
self.__mouse_emit(uinput.REL_X, x, syn=False)
self.__mouse_emit(uinput.REL_Y, y)
else:
# NOTE: the pynput mouse.move method moves the mouse relative to the current position using it's internal tracked position.
# NOTE: the pynput mouse.move method moves the mouse relative to the current position using its internal tracked position.
# this does not work for relative motion where the input should just be a delta value.
# instead, send the X fake input directly.
xtest.fake_input(self.xdisplay, Xlib.X.MotionNotify, detail=True, root=Xlib.X.NONE, x=x, y=y)
Expand Down

0 comments on commit d3ce0e4

Please sign in to comment.