Commit Graph

20 Commits

Author SHA1 Message Date
9ee5c4ec56 core/hid: Fix controller type validation 2021-12-29 22:51:53 -06:00
e05d2a70b2 common/input: Avoid numerous large copies of CallbackStatus
CallbackStatus instances aren't the cheapest things to copy around
(relative to everything else), given that they're currently 520 bytes in
size and are currently copied numerous times when callbacks are invoked.

Instead, we can pass the status by const reference to avoid all the
copying.
2021-12-13 21:22:02 -05:00
7fe455e42e core/hid: Ensure only valid npad are connected 2021-12-04 23:20:18 -06:00
b9b28c0457 core: hid: Cleanup and amend documentation 2021-11-29 17:20:14 -05:00
71f9b90dd9 core/hid: Remove usage of native types, fix a couple of errors with motion 2021-11-24 20:30:28 -06:00
5d0f3540c4 core/hid: Rename NpadType to NpadStyleIndex 2021-11-24 20:30:27 -06:00
157e0b85fd core/hid: Prevent Emulated controller from flapping with multiple inputs devices 2021-11-24 20:30:27 -06:00
136eb9c4c2 core/hid: Fully emulate motion from button 2021-11-24 20:30:27 -06:00
2b1b0c2a30 kraken: Address comments from review
start lion review
2021-11-24 20:30:26 -06:00
5f69fdbfcc core/hid: Explain better what a temporary value does 2021-11-24 20:30:26 -06:00
c085e54316 core/hid: Add TAS input 2021-11-24 20:30:26 -06:00
064ddacf49 core/hid: Rework battery mappings 2021-11-24 20:30:26 -06:00
b564f024f0 Morph review first wave 2021-11-24 20:30:25 -06:00
b5e72de753 kraken: Address comments from review
review fixes
2021-11-24 20:30:25 -06:00
af55dd1935 configuration: Migrate controller settings to emulated controller 2021-11-24 20:30:25 -06:00
601ac43495 core/hid: Only signal when needed 2021-11-24 20:30:24 -06:00
4d308fd0b4 hid: Fix controller connection/disconnection 2021-11-24 20:30:24 -06:00
72e5920240 core/hid: Documment some files 2021-11-24 20:30:24 -06:00
06a5ef5874 core/hid: Add output devices 2021-11-24 20:30:24 -06:00
c3f54ff232 core/hid: Add emulated controllers 2021-11-24 20:30:23 -06:00