Skip to content
Snippets Groups Projects
Commit 60da641a authored by dx's avatar dx
Browse files

mypystubs: fix stubs for hardware module

parent efd66142
No related branches found
No related tags found
No related merge requests found
......@@ -7,27 +7,27 @@ def get_ctx() -> Ctx: ...
def display_pipe_full() -> bool: ...
def display_pipe_flush() -> None: ...
def display_update(c: Ctx) -> None: ...
def display_set_backlight() -> None: ...
def display_set_backlight(percent: int) -> None: ...
def usb_connected() -> bool: ...
def usb_console_active() -> bool: ...
def version() -> None: ...
def i2c_scan() -> None: ...
def captouch_calibration_active() -> None: ...
def get_captouch() -> None: ...
def captouch_get_petal_pad_raw() -> None: ...
def captouch_get_petal_pad() -> None: ...
def captouch_get_petal_rad() -> None: ...
def captouch_get_petal_phi() -> None: ...
def captouch_set_petal_pad_threshold() -> None: ...
def version() -> str: ...
def i2c_scan() -> list[int]: ...
def captouch_calibration_active() -> int: ...
def get_captouch(ix: int) -> bool: ...
def captouch_get_petal_pad_raw(petal: int, pad: int) -> int: ...
def captouch_get_petal_pad(petal: int, pad: int) -> int: ...
def captouch_get_petal_rad(petal: int) -> int: ...
def captouch_get_petal_phi(petal: int) -> int: ...
def captouch_set_petal_pad_threshold(petal: int, pad: int, thres: int) -> None: ...
def captouch_autocalib() -> None: ...
def captouch_set_calibration_afe_target() -> None: ...
def menu_button_get() -> None: ...
def application_button_get() -> None: ...
def left_button_get() -> None: ...
def right_button_get() -> None: ...
def menu_button_set_left() -> None: ...
def menu_button_get_left() -> None: ...
def scope_draw() -> None: ...
def captouch_set_calibration_afe_target(target: int) -> None: ...
def menu_button_get() -> int: ...
def application_button_get() -> int: ...
def left_button_get() -> int: ...
def right_button_get() -> int: ...
def menu_button_set_left(left: int) -> None: ...
def menu_button_get_left() -> int: ...
def scope_draw(ctx: Ctx) -> None: ...
BUTTON_PRESSED_LEFT: int
BUTTON_PRESSED_RIGHT: int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment