diff options
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 | } |