Skip to content

Commit

Permalink
Address issue with unknown integer values for platform-specific butto…
Browse files Browse the repository at this point in the history
…n types.
  • Loading branch information
erictraut committed Apr 13, 2024
1 parent e4ab75c commit bd170fa
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions stubs/pynput/pynput/mouse/_base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,36 @@ class Button(enum.Enum):
middle = 2
right = 3
if sys.platform == "linux":
button8 = ...
button9 = ...
button10 = ...
button11 = ...
button12 = ...
button13 = ...
button14 = ...
button15 = ...
button16 = ...
button17 = ...
button18 = ...
button19 = ...
button20 = ...
button21 = ...
button22 = ...
button23 = ...
button24 = ...
button25 = ...
button26 = ...
button27 = ...
button28 = ...
button29 = ...
button30 = ...
scroll_down = ...
scroll_left = ...
scroll_right = ...
scroll_up = ...
button8 = int()
button9 = int()
button10 = int()
button11 = int()
button12 = int()
button13 = int()
button14 = int()
button15 = int()
button16 = int()
button17 = int()
button18 = int()
button19 = int()
button20 = int()
button21 = int()
button22 = int()
button23 = int()
button24 = int()
button25 = int()
button26 = int()
button27 = int()
button28 = int()
button29 = int()
button30 = int()
scroll_down = int()
scroll_left = int()
scroll_right = int()
scroll_up = int()
if sys.platform == "win32":
x1 = ...
x2 = ...
x1 = int()
x2 = int()

class Controller:
def __init__(self) -> None: ...
Expand Down

0 comments on commit bd170fa

Please sign in to comment.