diff options
| author | Jeffrey Bosboom <jbosboom@jeffreybosboom.com> | 2023-04-15 02:13:03 -0700 |
|---|---|---|
| committer | Jeffrey Bosboom <jbosboom@jeffreybosboom.com> | 2023-05-19 14:20:10 -0700 |
| commit | 620955d397d4c40aca06a0811294ccb90a6434f0 (patch) | |
| tree | a668689ab6803ea047ff7b8dd84f438a706ff107 /Source/Core/Common/FileUtil.cpp | |
| parent | b2a98c41eef80a28519d87abeb28c8869af1e403 (diff) | |
XInput2: Listen to master devices only
A comment removed by this commit gives two reasons for listening to
slave devices, both of which no longer apply:
- "Only slaves emit raw motion events": perhaps this was true when the
comment was written, but now master devices provide raw motion events
along with the other raw events.
- "Selecting slave keyboards avoids dealing with key focus": we get raw
key events regardless of the focus.
Listening to both master and slave devices results in duplicate raw
events. For button and key events, that's a tiny waste of time setting
the update flag a second time, but for raw mouse events the raw motion
will be processed twice. That makes this commit a user-facing change.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions
