diff options
author | german77 <juangerman-13@hotmail.com> | 2022-12-16 23:16:54 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-17 01:26:11 +0100 |
commit | 243404bf34b1470369e1d0f5f2dd18ac02435273 (patch) | |
tree | 90a6f4fa1da5620b07ce3c2183cbc69edd029727 /src/core/hid/emulated_controller.h | |
parent | Merge pull request #6354 from ogniK5377/device-name (diff) | |
download | yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.gz yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.bz2 yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.lz yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.xz yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.zst yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.zip |
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r-- | src/core/hid/emulated_controller.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h index fa7a34278..a398543a6 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h @@ -385,6 +385,9 @@ private: /// Set the params for TAS devices void LoadTASParams(); + /// Set the params for virtual pad devices + void LoadVirtualGamepadParams(); + /** * @param use_temporary_value If true tmp_npad_type will be used * @return true if the controller style is fullkey @@ -500,6 +503,12 @@ private: ButtonDevices tas_button_devices; StickDevices tas_stick_devices; + // Virtual gamepad related variables + ButtonParams virtual_button_params; + StickParams virtual_stick_params; + ButtonDevices virtual_button_devices; + StickDevices virtual_stick_devices; + mutable std::mutex mutex; mutable std::mutex callback_mutex; std::unordered_map<int, ControllerUpdateCallback> callback_list; |