Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
jfurcean committed Feb 7, 2021
1 parent ded4a91 commit b62b447
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/udraw_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
oldy = position.y
continue

if (position.x != oldx) or (position.y != oldy): # PEN has moved we move the HID mouse
if (position.x != oldx) or (
position.y != oldy
): # PEN has moved we move the HID mouse
m.move((position.x - oldx), (oldy - position.y), 0)
oldx = position.x
oldy = position.y

0 comments on commit b62b447

Please sign in to comment.