diff options
Diffstat (limited to 'src/core/hid/emulated_controller.h')
| -rw-r--r-- | src/core/hid/emulated_controller.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h index c0994ab4d..bee16a8ed 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h | |||
| @@ -101,6 +101,8 @@ struct ControllerStatus { | |||
| 101 | VibrationValues vibration_values{}; | 101 | VibrationValues vibration_values{}; |
| 102 | 102 | ||
| 103 | // Data for HID serices | 103 | // Data for HID serices |
| 104 | HomeButtonState home_button_state{}; | ||
| 105 | CaptureButtonState capture_button_state{}; | ||
| 104 | NpadButtonState npad_button_state{}; | 106 | NpadButtonState npad_button_state{}; |
| 105 | DebugPadButton debug_pad_button_state{}; | 107 | DebugPadButton debug_pad_button_state{}; |
| 106 | AnalogSticks analog_stick_state{}; | 108 | AnalogSticks analog_stick_state{}; |
| @@ -261,7 +263,13 @@ public: | |||
| 261 | /// Returns the latest battery status from the controller with parameters | 263 | /// Returns the latest battery status from the controller with parameters |
| 262 | BatteryValues GetBatteryValues() const; | 264 | BatteryValues GetBatteryValues() const; |
| 263 | 265 | ||
| 264 | /// Returns the latest status of button input for the npad service | 266 | /// Returns the latest status of button input for the hid::HomeButton service |
| 267 | HomeButtonState GetHomeButtons() const; | ||
| 268 | |||
| 269 | /// Returns the latest status of button input for the hid::CaptureButton service | ||
| 270 | CaptureButtonState GetCaptureButtons() const; | ||
| 271 | |||
| 272 | /// Returns the latest status of button input for the hid::Npad service | ||
| 265 | NpadButtonState GetNpadButtons() const; | 273 | NpadButtonState GetNpadButtons() const; |
| 266 | 274 | ||
| 267 | /// Returns the latest status of button input for the debug pad service | 275 | /// Returns the latest status of button input for the debug pad service |