AIprojekt-wozek/venv/Lib/site-packages/pygame/key.pyi
2022-03-10 19:45:28 +01:00

16 lines
502 B
Python

from typing import Sequence, Tuple
from ._common import _RectValue
def get_focused() -> bool: ...
def get_pressed() -> Sequence[bool]: ...
def get_mods() -> int: ...
def set_mods(mods: int) -> None: ...
def set_repeat(delay: int = 0, interval: int = 0) -> None: ...
def get_repeat() -> Tuple[int, int]: ...
def name(key: int) -> str: ...
def key_code(name: str) -> int: ...
def start_text_input() -> None: ...
def stop_text_input() -> None: ...
def set_text_input_rect(rect: _RectValue) -> None: ...