mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 07:25:46 +00:00
input_common/tas: Fallback to simple update
This commit is contained in:
parent
c01a872c8e
commit
f078b15565
10 changed files with 60 additions and 102 deletions
|
@ -25,6 +25,7 @@ struct ControllerInput {
|
|||
|
||||
struct ControllerCallback {
|
||||
std::function<void(ControllerInput)> input;
|
||||
std::function<void(bool)> update;
|
||||
};
|
||||
|
||||
class ControllerDialog : public QWidget {
|
||||
|
@ -43,8 +44,8 @@ protected:
|
|||
void hideEvent(QHideEvent* ev) override;
|
||||
|
||||
private:
|
||||
void RefreshTasFile();
|
||||
void InputController(ControllerInput input);
|
||||
void UpdateController(bool update);
|
||||
QAction* toggle_view_action = nullptr;
|
||||
QFileSystemWatcher* watcher = nullptr;
|
||||
PlayerControlPreview* widget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue