input_common: Add manual update options to input devices
This commit is contained in:
parent
f01dac3bf9
commit
c6c32daf40
5 changed files with 56 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue