diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-24 20:28:54 -0500 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:26 -0600 |
commit | c6c32daf40ae1c720f0a2897c538bb1117371ea5 (patch) | |
tree | 26879cbeb2162e706086818ad501a8f2730206d5 /src/input_common/helpers/touch_from_buttons.cpp | |
parent | f01dac3bf934657059b77bae3630201110f83e3d (diff) |
input_common: Add manual update options to input devices
Diffstat (limited to 'src/input_common/helpers/touch_from_buttons.cpp')
-rw-r--r-- | src/input_common/helpers/touch_from_buttons.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_common/helpers/touch_from_buttons.cpp b/src/input_common/helpers/touch_from_buttons.cpp index 2abfaf841..bb2bad5b1 100644 --- a/src/input_common/helpers/touch_from_buttons.cpp +++ b/src/input_common/helpers/touch_from_buttons.cpp @@ -17,6 +17,7 @@ public: Input::InputCallback button_up_callback{ [this](Input::CallbackStatus callback_) { UpdateButtonStatus(callback_); }}; button->SetCallback(button_up_callback); + button->ForceUpdate(); } Input::TouchStatus GetStatus(bool pressed) const { |