init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
29
.venv/lib/python3.8/site-packages/pygame/joystick.pyi
Normal file
29
.venv/lib/python3.8/site-packages/pygame/joystick.pyi
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
from typing import Tuple
|
||||
|
||||
def init() -> None: ...
|
||||
def quit() -> None: ...
|
||||
def get_init() -> bool: ...
|
||||
def get_count() -> int: ...
|
||||
|
||||
class Joystick(object):
|
||||
def __init__(self, id: int) -> None: ...
|
||||
def init(self) -> None: ...
|
||||
def quit(self) -> None: ...
|
||||
def get_init(self) -> bool: ...
|
||||
def get_id(self) -> int: ...
|
||||
def get_instance_id(self) -> int: ...
|
||||
def get_guid(self) -> str: ...
|
||||
def get_power_level(self) -> str: ...
|
||||
def get_name(self) -> str: ...
|
||||
def get_numaxes(self) -> int: ...
|
||||
def get_axis(self, axis_number: int) -> float: ...
|
||||
def get_numballs(self) -> int: ...
|
||||
def get_ball(self, ball_number: int) -> Tuple[float, float]: ...
|
||||
def get_numbuttons(self) -> int: ...
|
||||
def get_button(self, button: int) -> bool: ...
|
||||
def get_numhats(self) -> int: ...
|
||||
def get_hat(self, hat_number: int) -> Tuple[float, float]: ...
|
||||
def rumble(
|
||||
self, low_frequency: float, high_frequency: float, duration: int
|
||||
) -> bool: ...
|
||||
def stop_rumble(self) -> None: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue