diff options
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/generic_functions.h')
| -rw-r--r-- | src/input_common/helpers/joycon_protocol/generic_functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/helpers/joycon_protocol/generic_functions.h b/src/input_common/helpers/joycon_protocol/generic_functions.h index c3e2ccadc..239bb7dbf 100644 --- a/src/input_common/helpers/joycon_protocol/generic_functions.h +++ b/src/input_common/helpers/joycon_protocol/generic_functions.h | |||
| @@ -16,7 +16,7 @@ namespace InputCommon::Joycon { | |||
| 16 | /// Joycon driver functions that easily implemented | 16 | /// Joycon driver functions that easily implemented |
| 17 | class GenericProtocol final : private JoyconCommonProtocol { | 17 | class GenericProtocol final : private JoyconCommonProtocol { |
| 18 | public: | 18 | public: |
| 19 | GenericProtocol(std::shared_ptr<JoyconHandle> handle); | 19 | explicit GenericProtocol(std::shared_ptr<JoyconHandle> handle); |
| 20 | 20 | ||
| 21 | /// Enables passive mode. This mode only sends button data on change. Sticks will return digital | 21 | /// Enables passive mode. This mode only sends button data on change. Sticks will return digital |
| 22 | /// data instead of analog. Motion will be disabled | 22 | /// data instead of analog. Motion will be disabled |