start implementation of recipe selection
This commit is contained in:
34
frontend/views/button_interface.py
Normal file
34
frontend/views/button_interface.py
Normal file
@@ -0,0 +1,34 @@
|
||||
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
|
||||
Reference in New Issue
Block a user