Commit Graph

68 Commits

Author SHA1 Message Date
Maschell
4525d6ff47 Added travis script 2017-11-19 11:05:23 +01:00
Maschell
4edd875998 Added info to the makefile 2017-11-11 16:18:03 +01:00
Maschell
bd13ee05c2 Unix filenames seem to be case sensetive for compiling 2017-10-29 12:42:11 +01:00
Maschell
39efa6dd88 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	source/patcher/ControllerPatcherHID.cpp
2017-10-29 10:29:56 +01:00
Maschell
f52849b3b1 Small adjustments to the readme 2017-10-29 10:25:23 +01:00
Maschell
765b9dcb1c Transforming it into a static lib 2017-10-29 09:34:47 +01:00
Maschell
30557cd770 Remove log which preduces tooo many messages 2017-10-15 12:39:38 +02:00
Maschell
409871f29d Changed the way configuration files are loaded.
- Now the app using the controller_patcher_lib is responseable for
mounting the device. This give the application the freedom to load it
from any place. (Which implements devoptabs)
2017-10-14 15:45:45 +02:00
Maschell
c9284c0238 Improved the logging, added more checks while parsing the ini 2017-10-14 13:22:47 +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