34 lines
628 B
Python
34 lines
628 B
Python
from typing import Tuple
|
|
|
|
class ButtonInterface:
|
|
def has_button(self) -> Tuple[bool, bool, bool, bool]:
|
|
return False, False, False, False
|
|
|
|
|
|
def left_press(self):
|
|
pass
|
|
|
|
def left_long_press(self):
|
|
pass
|
|
|
|
def right_press(self):
|
|
pass
|
|
|
|
def right_long_press(self):
|
|
pass
|
|
|
|
def both_long_press(self):
|
|
pass
|
|
|
|
|
|
def render_left_press(self, draw, x, y):
|
|
pass
|
|
|
|
def render_left_long_press(self, draw, x, y):
|
|
pass
|
|
|
|
def render_right_press(self, draw, x, y):
|
|
pass
|
|
|
|
def render_right_long_press(self, draw, x, y):
|
|
pass |