Commit Graph

60 Commits

Author SHA1 Message Date
Maschell
22775dcbbb [WIP] Trying to implement motion controls and you the touch pad for emulating a mouse 2017-10-10 21:08:24 +02:00
Maschell
3bf07857be Fixed the thread to work with the new dynamic libs 2017-10-10 21:02:41 +02:00
Maschell
718ac61d77 Added option to disable the network controller 2017-07-20 17:28:14 +02:00
Maschell
f8aa5558cd added variable for the app status 2017-07-20 16:01:08 +02:00
Maschell
3559a18408 Cleaned up the includes 2017-05-07 14:44:09 +02:00
Maschell
9119528a1b Renamed the sleep functions, added option to disable rumble 2017-05-07 14:29:19 +02:00
Maschell
5c7be021d0 Added curly brackets to if(HID_DEBUG) 2017-05-06 19:46:05 +02:00
Maschell
83b064108e Fix: Using multiple controllers of the same type now possible again 2017-05-03 21:44:08 +02:00
Maschell
4405eca443 Adjusted stick sensitivity for the pro controller emulation 2017-04-27 19:32:43 +02:00
Maschell
a72f8e3879 Added function to call the SamplingCallback and some minor tweaks 2017-04-23 15:19:21 +02:00
Maschell
913ce2b315 Added support for the Switch Pro Controller via USB
- Added pre defined values for the switch pro controller
2017-04-23 12:18:36 +02:00
Maschell
837908290e Attempted to make the GC-Rumble working more reliable 2017-04-14 16:49:21 +02:00
Maschell
8dee7c3e70 Added defines for the controller names 2017-04-14 13:08:34 +02:00
Maschell
42fc97a37e Added variables for a missing connection callback 2017-04-14 12:59:40 +02:00
Maschell
5e732f123c Added rumble support for the network controller, changed protocol version to Version 3 2017-04-13 15:30:40 +02:00
Maschell
c46fcaff88 Changing the server-thread-priority if a game has problem with it.
Added retain variables for the callback workarround
2017-04-13 10:14:41 +02:00
Maschell
bb6964cd6f Adding more checks for NULL-Pointer 2017-04-11 14:38:53 +02:00
Maschell
41012b4543 Again fixing the controller configuration with many config files.
- fix pre-defined values for xinput and ds4
- changed datatypes in order to fix "no controller config"-found issues
with many config files
2017-04-10 17:15:26 +02:00
Maschell
74d422a87e Updated the TCP Handshake
Updated the TCP Handshake to also negotiate a protocol version.
2017-04-10 15:39:58 +02:00
Maschell
73bf9bfb74 Fixed bug when having more than 9 config files
the maximum of controller configs were increased to 32, but the datatype
was still u16 (which only has 16 bits). Changing it to u32 should
finally fix all issues with the config files
2017-04-10 11:02:58 +02:00
Maschell
a6413d4fae Changed logging and changed all "int" to "s32" 2017-04-10 11:00:55 +02:00
Maschell
5a3aa0d0aa Now the lib tries to mount the SD Card on each start until it actually works.
This should fix the config reading problems some people have.
Also fixing some compiler warnings
2017-04-06 12:49:50 +02:00
Maschell
7292edb8ce Changed the network protocol to repsonse with PONG after a received PING. 2017-04-03 16:57:04 +02:00
Maschell
215f6952a6 Fixed using mutliple controller with the same vid/pid 2017-04-02 19:05:31 +02:00
Maschell
f98014f354 Disable button logging because they lead to crashes. 2017-04-02 10:41:13 +02:00
Maschell
521bf6fba5 Checking the bitmask properly.. 2017-04-01 18:02:10 +02:00
Maschell
b7d529cce5 Fixed config for the keyboard 2017-04-01 17:35:50 +02:00
Maschell
5d2d29b4b9 Again fixing configuration 2017-03-31 17:29:59 +02:00
Maschell
e3af97b932 Fixed config files for controller which already have default settings. 2017-03-31 16:48:12 +02:00
Maschell
1c3935dd93 Updated the controller patcher engine for the new HID to VPAD update. 2017-03-30 17:53:36 +02:00
Maschell
b1e2068829 Update README.md 2017-03-24 13:06:04 +01:00
Maschell
4e38178c16 Changes the location where the path is defined 2016-08-09 10:57:25 +02:00
Maschell
4c496011da Fixed bug with inveted sticks
-built in not inverted sticks can now be inverted through a config
-fixed a typo in the ps4 pad config
2016-08-04 20:37:08 +02:00
Maschell
e67dc213b5 Improved deadzone handling
Improve GC pad default values
2016-08-04 18:53:11 +02:00
Maschell
3605af8358 Update README.md 2016-08-04 09:44:54 +02:00
Maschell
0f6d2945fc Update README.md 2016-08-03 21:44:59 +02:00
Maschell
aa0ce59f87 Huge commit
Changelog:

Bugfixes:
- Fixes the still moving mouse in aim mode, when mouse is actually not
moving
- Fixed a bug at initializing the config_controller_list;
- Fixed the support for almost all mouses that uses the normal HID mouse
standard (boot mode).
- The emulated sticks are now supported correctly
- The stick now only produces valid values. Stick absusing not possible
anymore

New features:
- Added support for config files that can be read from an SD Card.
- Added support for more keyboard buttons
- Added support for gamepad button remapping
- Made the double used buttons on the GC Pad configuable
- The keyboard can now emulate the sticks correctly
- Keyboard buttons for the sticks can be set
- The mouse buttons can now be configured
- The mouse can be configured to emulate the left stick
- Added support for one more DPAD mode (CONTRPDM_Absolute_2Values)

Other:
- Removed the support for the PS2 Adapter and Saitek P2600, but they can
be added trough a config file.
- The engine now uses 16 hardcoded slots the devices can use.
- cleaned up the logging output
- Logging of the currently pressed buttons possible

and more little things I dont remember
2016-08-03 20:46:46 +02:00
Maschell
df8439eb41 Update README.md 2016-07-31 13:05:32 +02:00
Maschell
26383adeed Creating a readme for the upcoming release. 2016-07-30 17:09:26 +02:00
Maschell
d1f6f4a674 Fixed the vid/pid of the pokken controller
Hopefully added support for an other PS2 controller.
2016-05-12 17:06:07 +02:00
Maschell
feba790584 Improved stability
-, fixed Port 4 of the GC-Adapter,
- hopefully added wavebird support
- initial support for pokken controller (no proper key mapping yet)
2016-05-08 15:21:49 +02:00
Maschell
35d6036f3e Tweaked GC-Pad deadzones.
Added mapping of ZL (Z+A)/ZR (Z+B) to GC pad.
Probably improved the success rate of switching between apps.
Fixed random inputs when no GC-Pad in the adapter
2016-05-05 01:04:00 +02:00
Maschell
a97e14ae5e fixed small, stupid mistake 2016-05-04 17:18:27 +02:00
Maschell
0edd8f4891 Updated controls for the P2600.
Fixed an issue with the dpad on some controllers.
Chnaged mapping on the keyboard: the right stick click to TAB, the left
stick click to F
2016-05-04 16:46:41 +02:00
Maschell
96893fe883 Tweaked deadzones of the PS3 pad. Some code clean up 2016-05-03 03:38:06 +02:00
Maschell
d7537197b9 Tweaked the deadzone of the DS4 pad 2016-04-28 02:20:22 +02:00
Maschell
304800fb47 Added support for emulatedstick! 2016-04-28 02:05:43 +02:00
Maschell
fd84f08fb8 Fixed DPAD on some controllers when other buttons are pressed 2016-04-27 18:47:47 +02:00
Maschell
3cd9d1eef3 Impoved analogsticks and added a deadzone 2016-04-27 18:28:32 +02:00
Maschell
c1a02aa7c7 Merge branch 'master' of https://github.com/Maschell/controller_patcher 2016-04-25 22:08:41 +02:00