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
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
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
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
cathery
c66ee7206e
Remove hid service from sysmodule
2019-12-11 09:24:53 +03:00
cathery
1ceffd7e10
Fix time showing up incorrectly in logs
2019-12-11 05:59:04 +03:00
cathery
7bb3dc44d8
Fix improper thread exit name
2019-12-04 21:47:28 +03:00
cathery
b4dfe8a548
Reimplement psc and event threads using SwitchThread
2019-12-04 20:40:34 +03:00
cathery
cd64016cbd
Move interfaces and etc to global variables to reduce memory usage
2019-12-04 20:38:49 +03:00
cathery
cdc8ed5d51
Reimplement WirteToLog to grealy reduce filesize
2019-12-04 20:29:53 +03:00
cathery
3ff573456f
Minor changes
2019-11-25 15:58:23 +03:00
cathery
c2e12bc2e9
Reduce psc thread stack size
2019-11-24 05:37:28 +03:00
cathery
e889c6e00c
Implement PSC module for cleaning up resources before going to sleep
2019-11-24 05:25:14 +03:00
cathery
d1ccd23813
Allow changing DS4 LED ( #88 )
2019-11-22 01:03:31 +03:00
cathery
60776a8cce
Fix inconsistent event index
2019-11-22 01:02:39 +03:00
cathery
17b205d8d0
Update code structure
2019-11-22 00:40:42 +03:00
cathery
cbe4e5a39b
Fix multiple controllers being removed on unplug
2019-11-22 00:39:35 +03:00
cathery
781129b467
Finalize 0.5.0
2019-11-15 14:03:06 +03:00
cathery
dc584a0af1
Fix firmware path not being read
2019-11-13 23:53:47 +03:00
cathery
a1363d5774
Add customizable controller colors #63
2019-11-13 23:49:15 +03:00