summaryrefslogtreecommitdiff
path: root/libs/surfaces/us2400/button.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2017-10-19 11:53:08 -0500
committerBen Loftis <ben@harrisonconsoles.com>2017-10-19 11:54:36 -0500
commit2a310e5f798e7921715cd11e17e61327d2614e6d (patch)
tree8b687c151dd20d78dbbe8a8fc2e40242d0fbb594 /libs/surfaces/us2400/button.h
parentee09ae1c6bd285388159a3a69f12fc53faf247e2 (diff)
US2400: Mark controls dirty and send them from the periodic update thread.
Diffstat (limited to 'libs/surfaces/us2400/button.h')
-rw-r--r--libs/surfaces/us2400/button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/us2400/button.h b/libs/surfaces/us2400/button.h
index 182e88fefc..9091fb21e5 100644
--- a/libs/surfaces/us2400/button.h
+++ b/libs/surfaces/us2400/button.h
@@ -104,6 +104,8 @@ public:
Surface& surface() const { return _surface; }
+ void mark_dirty() { _led.mark_dirty(); }
+
void pressed ();
void released ();