diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:15:52 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:15:52 -0500 |
| commit | fb7575981bc784457475f32ce0ab8b3e7d418f9f (patch) | |
| tree | 210f45b6c31aef4c0863e73b3e8b84765a33d383 /runtime/shims/gameinput.cpp | |
| parent | 66d9217616d8cb654ba7914f650ce4b78c65987c (diff) | |
| parent | 0519bc2c8108089c65652f550e8b950f9731eb33 (diff) | |
Merge pull request #4553 from Maxime Mansiet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/gameinput.cpp')
| -rw-r--r-- | runtime/shims/gameinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/shims/gameinput.cpp b/runtime/shims/gameinput.cpp index d93592eb2..4a42afbcf 100644 --- a/runtime/shims/gameinput.cpp +++ b/runtime/shims/gameinput.cpp | |||
| @@ -843,7 +843,7 @@ bool matches(const Callback& c, const Event& e) { | |||
| 843 | if (!(c.kind & e.device->info.supportedInput) && c.kind != GameInputKindUnknown) return false; | 843 | if (!(c.kind & e.device->info.supportedInput) && c.kind != GameInputKindUnknown) return false; |
| 844 | return e.only || ((e.current ^ e.previous) & c.status_filter); | 844 | return e.only || ((e.current ^ e.previous) & c.status_filter); |
| 845 | case CbType::Reading: | 845 | case CbType::Reading: |
| 846 | return (c.kind & kSupportedKinds) || c.kind == GameInputKindUnknown; | 846 | return c.kind == GameInputKindUnknown || (c.kind & e.device->info.supportedInput); |
| 847 | default: | 847 | default: |
| 848 | return true; | 848 | return true; |
| 849 | } | 849 | } |