Commit Graph

83 Commits

Author SHA1 Message Date
Maschell
ae5fbd4f84 Replace __gh_errno_ptr() by socketlasterr() 2018-06-19 17:35:47 +02:00
Maschell
03d827c436 Fix the search for the sampling callback 2018-06-19 17:33:04 +02:00
Maschell
ec2e5dd8e3 Fix sleep duration (Milliseconds -> Microseconds) 2018-06-19 17:31:20 +02:00
Maschell
07314ec15b Remove duplicated file 2018-06-19 17:25:13 +02:00
Maschell
2a78306327 First commit of the wut branch. 2018-06-17 20:33:39 +02:00
Maschell
7f811bb836 [Travis] Only reinstall packages if updated. 2018-05-26 16:29:48 +02:00
Maschell
f3cbf9332e [Travis] Updated the script to now use pacman, caching optimization
- The Makefile now doesn't rely on wii_rules anymore.
2018-05-26 12:55:57 +02:00
Maschell
975af132dc Simplified the code by using the TCPServer from libutils 2018-03-07 18:42:36 +01:00
Maschell
bb4484645a Use github instead of sourceforge 2018-02-25 13:45:48 +01:00
Maschell
3008c53e6f Added option to copy DPAD input to the stick 2018-02-16 19:25:43 +01:00
Maschell
54b321ad6e Added memory flushing to getMouseData function, added cooldown to mouse mode changing 2018-02-16 18:57:45 +01:00
Maschell
cb17522af2 Revert changing compiler flags. 2018-02-16 17:39:08 +01:00
Maschell
0fe22a57a8 Removed some logging. 2018-02-14 22:24:20 +01:00
Maschell
2816e9b2ec Optimized the travis build script 2017-12-16 11:33:11 +01:00
Maschell
746cf737da Fxied stupid typo in the travis script 2017-11-19 11:06:36 +01:00
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