diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-27 07:20:28 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:26 +0100 |
commit | c085e54316c5520ed7d58a92a7faa9e896bb6c71 (patch) | |
tree | 05a5798ddc25ce2afa423cd70bec979705b63143 /src/core/hid/emulated_controller.h | |
parent | input_common: Fix UDP uuid (diff) | |
download | yuzu-c085e54316c5520ed7d58a92a7faa9e896bb6c71.tar yuzu-c085e54316c5520ed7d58a92a7faa9e896bb6c71.tar.gz yuzu-c085e54316c5520ed7d58a92a7faa9e896bb6c71.tar.bz2 yuzu-c085e54316c5520ed7d58a92a7faa9e896bb6c71.tar.lz yuzu-c085e54316c5520ed7d58a92a7faa9e896bb6c71.tar.xz yuzu-c085e54316c5520ed7d58a92a7faa9e896bb6c71.tar.zst yuzu-c085e54316c5520ed7d58a92a7faa9e896bb6c71.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 eb705a241..eec51e34a 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h @@ -299,6 +299,9 @@ private: /// creates input devices from params void LoadDevices(); + /// Set the params for TAS devices + void LoadTASParams(); + /** * Updates the button status of the controller * @param callback: A CallbackStatus containing the button status @@ -363,6 +366,12 @@ private: BatteryDevices battery_devices; OutputDevices output_devices; + // TAS related variables + ButtonParams tas_button_params; + StickParams tas_stick_params; + ButtonDevices tas_button_devices; + StickDevices tas_stick_devices; + mutable std::mutex mutex; std::unordered_map<int, ControllerUpdateCallback> callback_list; int last_callback_key = 0; |