-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathtouch_cal_data.pyi
52 lines (38 loc) · 1.03 KB
/
touch_cal_data.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright (c) 2024 - 2025 Kevin G. Schlosser
from typing import Optional
# this class is used as a template for writing the mechanism that is
# used to store the touch screen calibration data. All properties and functions
# seen in this class need to exist in the class that is written to store the
# touch calibration data.
# For more information on how to do this see the touch calibration for the ESP32
class TouchCalData(object):
def __init__(self, name):
...
def save(self):
...
@property
def left(self) -> Optional[int]:
...
@left.setter
def left(self, value: int):
...
@property
def right(self) -> Optional[int]:
...
@right.setter
def right(self, value: int):
...
@property
def top(self) -> Optional[int]:
...
@top.setter
def top(self, value: int):
...
@property
def bottom(self) -> Optional[int]:
...
@bottom.setter
def bottom(self, value: int):
...
def reset(self):
...