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 69707f75a..dbd2cbe72 100644 --- a/runtime/shims/gameinput.cpp +++ b/runtime/shims/gameinput.cpp | |||
| @@ -823,7 +823,7 @@ bool matches(const Callback& c, const Event& e) { | |||
| 823 | if (!(c.kind & e.device->info.supportedInput) && c.kind != GameInputKindUnknown) return false; | 823 | if (!(c.kind & e.device->info.supportedInput) && c.kind != GameInputKindUnknown) return false; |
| 824 | return e.only || ((e.current ^ e.previous) & c.status_filter); | 824 | return e.only || ((e.current ^ e.previous) & c.status_filter); |
| 825 | case CbType::Reading: | 825 | case CbType::Reading: |
| 826 | return (c.kind & kSupportedKinds) || c.kind == GameInputKindUnknown; | 826 | return c.kind == GameInputKindUnknown || (c.kind & e.device->info.supportedInput); |
| 827 | default: | 827 | default: |
| 828 | return true; | 828 | return true; |
| 829 | } | 829 | } |