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
cathery
bde2cfa2b0
Fixed another joystick value edge case
...
Joystick values of -32768 and lower cause Resident Evil 4 to crash
2020-01-25 01:17:20 +03:00
cathery
033b9abece
Remove unnecessary bound checks since this was a one-off error
...
Thanks libnx
2020-01-24 02:03:52 +03:00
cathery
bbed9abf55
Clamp joystick values when dpad and lstick are swapped
...
They will now fit inside the circle like regular sticks
2020-01-24 01:39:36 +03:00
cathery
c7c5c42ae8
Fix joystick values going out of bounds
...
Joystick value of 32768 (0x8000) causes games like Xenoblade 2 to crash under failed assertions.
Even though it should be within range of acceptable joystick values.
2020-01-24 01:38:10 +03:00
cathery
69ed3e45de
Update README.md
2020-01-12 05:40:12 +03:00
cathery
4f2ff7321b
Update README.md
2020-01-12 05:37:58 +03:00
cathery
49fc7a8738
Remove Xbox One Adapter
2020-01-12 05:16:55 +03:00
cathery
48cacf557a
Update map.png
2020-01-12 05:04:59 +03:00
cathery
60c861c0a2
Re-organize the project
2020-01-12 05:01:44 +03:00