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
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
cathery
9807350530 Dualshock 4: Add touchpad and PS buttons 2019-11-13 19:53:23 +03:00
cathery
c2c58971a7 Use Result type instead of Status 2019-11-13 14:16:13 +03:00
cathery
7c1757bef8 More work on Dualshock 4 2019-11-12 20:56:50 +03:00
cathery
b3c995fe66 More work on Xbox one adapter 2019-11-12 20:55:50 +03:00
cathery
8d61e5b10b Begin implementing Dualshock 4 controller 2019-11-11 22:43:19 +03:00
cathery
744c42a250 bump app version 2019-11-11 03:13:34 +03:00
cathery
ddee5ae15b Add version check on init 2019-11-11 01:54:46 +03:00
cathery
8739069e6b Add d-pad and left stick swap option 2019-11-09 23:36:52 +03:00
cathery
4ba875800c Begin implementing Xbox One Adapter 2019-11-09 23:22:41 +03:00
cathery
ecf6d2987e Show app version in log 2019-11-09 23:19:49 +03:00
cathery
1d16b46e4d forgot a bracket 2019-11-09 11:48:53 +03:00
cathery
fc48561b3a Raise device limit to 10 and prevent it from going any further 2019-11-09 11:45:47 +03:00
cathery
ba7a0b754f Add support for multiple 360 wireless controllers 2019-11-09 02:31:49 +03:00
cathery
47dfafaaac Move ds3 event to index 0 2019-11-08 17:26:31 +03:00
cathery
fc0d3136e3 Begin implementing Xbox controller 2019-11-08 17:15:02 +03:00
cathery
7ae2204070 Begin Xbox 360 Wireless implementation 2019-11-08 15:56:20 +03:00
cathery
4c78a716d6 Check devices by interface rather than VID/PID 2019-11-08 12:25:16 +03:00
cathery
114e466a1a Add input remapping 2019-11-07 20:46:47 +03:00
cathery
59c99da458 Added config files (no remapping yet) 2019-11-07 01:20:58 +03:00
cathery
264673d6fc Reduce memory usage
by using threadCreate instead of std::thread
2019-11-06 15:28:56 +03:00
cathery
1269bbd7cf
Create README.md 2019-11-05 15:15:19 +03:00
cathery
e212c27789 Comment out unused code for now 2019-11-05 14:16:58 +03:00
cathery
855561280a Working button input on #3 2019-11-04 22:11:55 +03:00
cathery
f3d8991710 USB memory optimizations + progress on #3 2019-11-04 15:32:43 +03:00
cathery
500fcddaa8 minor attempts at vibration +dualshock dummy class 2019-11-03 22:38:24 +03:00
cathery
860173824d Progress on #1 2019-11-02 20:42:24 +03:00
cathery
82e6eca5ab Adjusting to new libnx build 2019-11-02 12:03:54 +03:00
cathery
3264c1be42 added exit lock for applet type app 2019-11-02 01:39:40 +03:00
cathery
329876157a
Update main.cpp 2019-10-31 21:15:39 +03:00
cathery
7796e2e88d Initial commit 2019-10-31 21:00:42 +03:00