1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-12-29 03:16:23 +00:00
Commit Graph

180 Commits

Author SHA1 Message Date
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
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
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
98a714593f add -j4 to make 2020-03-03 12:58:28 +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
cathery
a7e1c5d204 Add debug interface change logs 2020-03-02 18:24:09 +03:00
cathery
42f14cd74c Minor fixes to config handler
Added Enable and Disable functions
the thread running bool is now properly set to false upon disabling conifg
Enable now returns early if the timer was already created
CheckForFileChanges is called once when initializing
2020-03-02 18:23:41 +03:00
cathery
6898d056d4 while {} -> do {} while
It makes more sense that all threads check if they can still run after they've completed their cycle, not before it
2020-03-02 18:21:40 +03:00
cathery
b68134504b Implement PSC module 2020-03-02 18:18:12 +03:00
cathery
c93aa6304b Fix up vscode include paths 2020-03-01 21:05:52 +03:00
cathery
9de5e87c4f Reimplement config loading behavior 2020-03-01 21:05:41 +03:00
cathery
1771b42ade change thread_running bool names 2020-02-22 21:03:03 +03:00
cathery
9b243d4666 Fix controller input 2020-02-20 22:07:58 +03:00
cathery
6daa334da5 Add a loop exit variable for usb threads 2020-02-20 03:27:49 +03:00
cathery
efaa2a6791 Use ams::StaticThread instead of SwitchThread in SwitchVirtualGamepadHandler 2020-02-20 03:27:19 +03:00
cathery
55b5d76090 Remove -j from makefile 2020-02-20 03:26:15 +03:00
cathery
05d62f943c sysmodule: implement usb and controller handler modules (not working) 2020-02-16 22:53:58 +03:00
cathery
d5cd9b7b0d replace time posix functions with time service functions 2020-02-06 02:38:34 +03:00
cathery
72497b76f1 Rework main.cpp with stratosphere 2020-02-06 02:24:59 +03:00
cathery
345a14d17d Update sysmodule makefile 2020-02-06 01:06:13 +03:00
cathery
69fd3fa7d7 add libstratosphere 2020-02-05 20:52:59 +03:00
cathery
02c23dab83 Bump version 2020-01-28 00:30:42 +03:00
cathery
0efde144e5 Fix the static assertion check 2020-01-25 01:43:10 +03:00
cathery
f59352bee3 Add a static assertion for correct joystick values 2020-01-25 01:41:11 +03:00