Skip to content

Commit

Permalink
chore: add documentation to the C extension stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Aug 13, 2023
1 parent cebf95f commit 28a185a
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions keywin/send_input/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

from typing import Iterable

def send_mouse_event(inputs: Iterable[list[int]]) -> None: ...
def send_mouse_event(inputs: Iterable[list[int]]) -> None:
"""
Summary
-------
a low-level mouse event wrapper for the Windows API SendInput function
def press_keyboard(keys: Iterable[int]) -> None: ...
Parameters
----------
inputs (Iterable[list[int]]) : a list of valid mouse inputs
"""
...


def press_keyboard(keys: Iterable[int]) -> None:
"""
Summary
-------
a low-level keyboard event wrapper for the Windows API SendInput function
Parameters
----------
keys (Iterable[int]) : a list of valid keyboard inputs
"""
...

0 comments on commit 28a185a

Please sign in to comment.