diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-04-29 12:42:16 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-04-29 12:42:16 +1000 |
| commit | b255ea799eead9668e7fd69a286349ac4a74a73c (patch) | |
| tree | 747e8038de0ff048ab253ac1d6f481df601e8449 /src/input/input_touch_wheel.cpp | |
| parent | 920345b940bb3993c389d9e9be1a75a8041d431d (diff) | |
| download | tangara-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.cpp | 3 |
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_}; } |
