summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-13 09:39:01 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:28 +0100
commit7fcfe24a3edff903871bee6c249d97e64648ddfa (patch)
treedda21fd06ae069c800e5aa69b57ed489dc309b70 /src/core/hle/service/hid
parentcore/hid: Remove usage of native types, fix a couple of errors with motion (diff)
downloadyuzu-7fcfe24a3edff903871bee6c249d97e64648ddfa.tar
yuzu-7fcfe24a3edff903871bee6c249d97e64648ddfa.tar.gz
yuzu-7fcfe24a3edff903871bee6c249d97e64648ddfa.tar.bz2
yuzu-7fcfe24a3edff903871bee6c249d97e64648ddfa.tar.lz
yuzu-7fcfe24a3edff903871bee6c249d97e64648ddfa.tar.xz
yuzu-7fcfe24a3edff903871bee6c249d97e64648ddfa.tar.zst
yuzu-7fcfe24a3edff903871bee6c249d97e64648ddfa.zip
Diffstat (limited to 'src/core/hle/service/hid')
-rw-r--r--src/core/hle/service/hid/controllers/keyboard.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/keyboard.cpp b/src/core/hle/service/hid/controllers/keyboard.cpp
index 1dc219bf5..d6505dbc5 100644
--- a/src/core/hle/service/hid/controllers/keyboard.cpp
+++ b/src/core/hle/service/hid/controllers/keyboard.cpp
@@ -42,6 +42,7 @@ void Controller_Keyboard::OnUpdate(const Core::Timing::CoreTiming& core_timing,
next_state.key = keyboard_state;
next_state.modifier = keyboard_modifier_state;
+ next_state.modifier.unknown.Assign(1);
}
keyboard_lifo.WriteNextEntry(next_state);