1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-11-16 14:09:51 +00:00
Commit Graph

205 Commits

Author SHA1 Message Date
cathery
99520c55e6 Remove outdated warnings from README 2020-04-25 11:49:23 +03:00
cathery
2ffbfe26eb Bump version 2020-04-25 11:46:40 +03:00
cathery
a99fa9a420 merge SwitchControllerHandler into SwitchVirtualGamepadHandler to avoid confusion 2020-04-22 16:42:06 +03:00
cathery
d27c7c03f4 Formatting 2020-04-22 03:55:27 +03:00
cathery
b5667e35ab Change controller config options
Allow unmapping keys
Allow mapping multiple keys to the same button
Allow changing the deadzone for each trigger
Remove dualshock4 global option from the config files

Update config files for new changes
2020-04-22 03:54:49 +03:00
cathery
d1bce55c9f Fix sys-con using 100% of the cpu core 3 2020-04-21 03:20:17 +03:00
cathery
10b0d3a499 Don't destroy events on sleep 2020-04-20 15:07:03 +03:00
cathery
072b1d4127 Change USB thread creation/cleanup order 2020-04-20 15:05:01 +03:00
cathery
2ec70ca4a2 Merge dualshock events into one vendor event (thanks @p-sam) 2020-04-20 14:31:55 +03:00
cathery
1c33973685 Revert "Lower controller thread priority to avoid freezes"
This reverts commit fb64348b7a.
2020-04-18 20:10:47 +03:00
cathery
1705f4213f Close USB interfaces only after closing USB threads 2020-04-18 19:05:23 +03:00
cathery
0322aef97c Remove unnecessary USB exit calls 2020-04-18 18:42:28 +03:00
cathery
fb64348b7a Lower controller thread priority to avoid freezes 2020-04-18 17:31:10 +03:00
cathery
7c335464a4 Fix typo in output thread exit 2020-04-18 17:30:51 +03:00
cathery
b07681d0cf Comment out unnecessary exit calls 2020-04-18 17:30:10 +03:00
cathery
b6c8ac3f07 Remove recursive directories in vscode includePath 2020-04-18 15:20:02 +03:00
cathery
8a5ab6cb89 Discard large log files on boot 2020-04-18 15:19:02 +03:00
cathery
f990e20348
Merge pull request #159 from Areidz/patch-1
Add Venom and Hori Dualshock VID/PIDs
2020-04-17 22:35:30 +03:00
cathery
0e666437a0 Add some comments to HDL handler 2020-04-17 12:05:48 +03:00
cathery
6438a40dab Add a scoped lock for controller handler 2020-04-17 12:05:32 +03:00
cathery
d05981dcf4 Fix up controller cleanup order 2020-04-17 12:05:02 +03:00
cathery
54de7050bd Use memcpy 2020-04-17 12:04:36 +03:00
cathery
03dac32574 Enable psc module again 2020-04-15 13:54:33 +03:00
cathery
f2a5712b07 use setsys instead of ams::hos::SetVersionForLibnx() 2020-04-15 13:53:59 +03:00
cathery
0802d137fb Add dualshock 4 ControllerSupports 2020-04-05 12:23:58 +03:00
cathery
079f2b4c4f Update to use libnx 3.1.0 2020-04-05 12:23:00 +03:00
Rodrigo Iglesias
eeeb49bd74
Added some arcade controllers 2020-04-03 19:57:15 +02:00
cathery
9ca309a621 Comment out psc code 2020-03-26 06:12:19 +03:00
cathery
a4c6008ce7 Increase controller threads again 2020-03-26 06:12:04 +03:00
cathery
697ead1fc6 Update libnx and libstratosphere 2020-03-26 06:11:48 +03:00
cathery
317d695dfb Cosmetic changes 2020-03-26 06:11:36 +03:00
cathery
7cab2e1e89 Update libnx and libstratosphere 2020-03-21 00:29:53 +03:00
cathery
c91bcd9e26 Remove old code 2020-03-13 13:46:12 +03:00
cathery
3dfa505ca8 Reduce psc thread's memory 2020-03-13 13:38:51 +03:00
cathery
4cd616570f Roll back some safety checks 2020-03-13 13:38:32 +03:00
cathery
50b0a158ce Clear the interfaces array before passing it to usbhs to avoid bad input 2020-03-12 17:48:26 +03:00
cathery
2042d65935 Increase the controller threads' priority 2020-03-12 17:47:41 +03:00
cathery
393263eb7c update thread priorities 2020-03-11 02:22:36 +03:00
cathery
f9054f9d67 log: use scoped lock mutexes 2020-03-11 02:04:18 +03:00
cathery
9f437adca5 use R_ABORT_UNLESS instead of R_ASSERT 2020-03-11 02:03:50 +03:00
cathery
37179d3d02 Remove redundant CancelSynchronization calls 2020-03-11 01:17:14 +03:00
cathery
999b5d181f Add mutex locks to usb queries 2020-03-11 01:16:41 +03:00
cathery
ffcdee112c Remove psc logs 2020-03-10 23:13:33 +03:00
cathery
3aa4421fb8 Remove unused QueryVendorProduct 2020-03-10 23:13:03 +03:00
cathery
94f49095fa
Update building instructions in README.md 2020-03-10 22:06:17 +03:00
cathery
5afe0ac4dd Update makefile targets 2020-03-10 21:23:10 +03:00
cathery
b7d6da217a Update libstratosphere and use master libnx 2020-03-10 21:22:21 +03:00
cathery
2690be44d8 Change some WriteToLog calls 2020-03-10 12:47:32 +03:00
cathery
d5edac6c1b More usb event error checking 2020-03-10 12:46:53 +03:00
cathery
96aa0e05ac Create a thread for each usb event
* Fixes the issue of not being able to connect more than 3 controllers at once
2020-03-10 12:44:57 +03:00