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

122 Commits

Author SHA1 Message Date
cathery
7b9736ae19 update libstratosphere 2020-12-07 15:03:59 +03:00
cathery
77256ef2d7 Update for libnx 3.2.0, gcc 10 and libstratosphere 2020-12-07 15:03:55 +03:00
cathery
f95965f581 Bump version 2020-12-07 15:03:47 +03:00
cathery
697bb749c2 merge SwitchControllerHandler into SwitchVirtualGamepadHandler to avoid confusion 2020-12-07 15:03:42 +03:00
cathery
f0a91bb5e6 Formatting 2020-12-07 15:03:39 +03:00
cathery
fb578f6987 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-12-07 15:03:35 +03:00
cathery
e1b3fcc3b0 Fix sys-con using 100% of the cpu core 3 2020-12-07 15:03:32 +03:00
cathery
2c77618445 Don't destroy events on sleep 2020-12-07 15:03:28 +03:00
cathery
a85ca8505b Change USB thread creation/cleanup order 2020-12-07 15:03:24 +03:00
cathery
a546273b46 Merge dualshock events into one vendor event (thanks @p-sam) 2020-12-07 15:03:13 +03:00
cathery
b80d96d472 Close USB interfaces only after closing USB threads 2020-12-07 15:03:08 +03:00
cathery
7d9ee7e233 Remove unnecessary USB exit calls 2020-12-07 15:03:05 +03:00
cathery
cdcc709642 Fix typo in output thread exit 2020-12-07 15:03:00 +03:00
cathery
d60f0652d4 Comment out unnecessary exit calls 2020-12-07 15:02:58 +03:00
cathery
f527c2c388 Discard large log files on boot 2020-12-07 15:02:50 +03:00
cathery
2aac5d747e Add some comments to HDL handler 2020-12-07 15:02:46 +03:00
cathery
8434a9e250 Add a scoped lock for controller handler 2020-12-07 15:02:43 +03:00
cathery
a00188868c Fix up controller cleanup order 2020-12-07 15:02:40 +03:00
cathery
979f847b25 Use memcpy 2020-12-07 15:02:35 +03:00
cathery
78b7818f9b Enable psc module again 2020-12-07 15:02:22 +03:00
cathery
6931560c8e use setsys instead of ams::hos::SetVersionForLibnx() 2020-12-07 15:02:13 +03:00
cathery
d009dd01ff Add dualshock 4 ControllerSupports 2020-12-07 15:02:07 +03:00
cathery
dfbd4ff5d8 Update to use libnx 3.1.0 2020-12-07 15:01:58 +03: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
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
cathery
e0f8df2166 Move stratosphere include into source file 2020-03-03 19:45:35 +03:00
cathery
95de6047be Fix libstratosphere not being built 2020-03-03 19:45:17 +03:00
cathery
a9c83a7b17 Update libstratosphere 2020-03-03 12:59:31 +03:00
cathery
80a18b89c3 Fix controllers not taking any button input with no configs 2020-03-03 12:58:12 +03:00
cathery
1750201216 Rename ::handler namespace to ::controllers 2020-03-02 18:52:38 +03:00