diff options
| author | 2021-11-01 14:17:53 -0600 | |
|---|---|---|
| committer | 2021-11-24 20:30:26 -0600 | |
| commit | 77fa4d4bf60526826ef8b53ee3870f7d2a761976 (patch) | |
| tree | 3c6c07d535bd912ed085be9b826103a6eabe718f /src/input_common/drivers/keyboard.cpp | |
| parent | settings: Fix Debug controller type options (diff) | |
| download | yuzu-77fa4d4bf60526826ef8b53ee3870f7d2a761976.tar.gz yuzu-77fa4d4bf60526826ef8b53ee3870f7d2a761976.tar.xz yuzu-77fa4d4bf60526826ef8b53ee3870f7d2a761976.zip | |
second commit lion review
Diffstat (limited to 'src/input_common/drivers/keyboard.cpp')
| -rw-r--r-- | src/input_common/drivers/keyboard.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input_common/drivers/keyboard.cpp b/src/input_common/drivers/keyboard.cpp index 85a781a30..549704e89 100644 --- a/src/input_common/drivers/keyboard.cpp +++ b/src/input_common/drivers/keyboard.cpp | |||
| @@ -7,6 +7,12 @@ | |||
| 7 | 7 | ||
| 8 | namespace InputCommon { | 8 | namespace InputCommon { |
| 9 | 9 | ||
| 10 | constexpr PadIdentifier identifier = { | ||
| 11 | .guid = Common::UUID{Common::INVALID_UUID}, | ||
| 12 | .port = 0, | ||
| 13 | .pad = 0, | ||
| 14 | }; | ||
| 15 | |||
| 10 | Keyboard::Keyboard(const std::string& input_engine_) : InputEngine(input_engine_) { | 16 | Keyboard::Keyboard(const std::string& input_engine_) : InputEngine(input_engine_) { |
| 11 | PreSetController(identifier); | 17 | PreSetController(identifier); |
| 12 | } | 18 | } |