summaryrefslogtreecommitdiff
path: root/src/input/input_touch_wheel.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-04-29 12:42:16 +1000
committerjacqueline <me@jacqueline.id.au>2024-04-29 12:42:16 +1000
commitb255ea799eead9668e7fd69a286349ac4a74a73c (patch)
tree747e8038de0ff048ab253ac1d6f481df601e8449 /src/input/input_touch_wheel.cpp
parent920345b940bb3993c389d9e9be1a75a8041d431d (diff)
downloadtangara-fw-b255ea799eead9668e7fd69a286349ac4a74a73c.tar.gz
Add lua bindings for override input hooks
Diffstat (limited to 'src/input/input_touch_wheel.cpp')
-rw-r--r--src/input/input_touch_wheel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/input_touch_wheel.cpp b/src/input/input_touch_wheel.cpp
index 121b1ee5..67cab3bf 100644
--- a/src/input/input_touch_wheel.cpp
+++ b/src/input/input_touch_wheel.cpp
@@ -92,7 +92,8 @@ auto TouchWheel::name() -> std::string {
return "wheel";
}
-auto TouchWheel::hooks() -> std::vector<TriggerHooks> {
+auto TouchWheel::triggers()
+ -> std::vector<std::reference_wrapper<TriggerHooks>> {
return {centre_, up_, right_, down_, left_};
}