summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-08-24 19:17:37 +1000
committerjacqueline <me@jacqueline.id.au>2023-08-24 19:17:37 +1000
commit58854bc55dc5aae4b144384d4916def930dd0262 (patch)
tree570561d434d7051d52dc3f0619e0a0e2ed77f747 /src/drivers/include
parentee949829d98c3b8df685319559a5798aad74bf13 (diff)
downloadtangara-fw-58854bc55dc5aae4b144384d4916def930dd0262.tar.gz
Improve centre button responsiveness
Diffstat (limited to 'src/drivers/include')
-rw-r--r--src/drivers/include/touchwheel.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/include/touchwheel.hpp b/src/drivers/include/touchwheel.hpp
index 38e8a9f1..9d002156 100644
--- a/src/drivers/include/touchwheel.hpp
+++ b/src/drivers/include/touchwheel.hpp
@@ -49,9 +49,12 @@ class TouchWheel {
CALIBRATE = 6,
RESET = 7,
LOW_POWER = 8,
+ RECALIBRATION_DELAY = 12,
SLIDER_OPTIONS = 14,
CHARGE_TIME = 15,
+ DETECT_THRESHOLD_BASE = 16,
KEY_CONTROL_BASE = 28,
+ PULSE_SCALE_BASE = 40,
};
void WriteRegister(uint8_t reg, uint8_t val);