Commit Graph

67 Commits

Author SHA1 Message Date
Maschell
ead67f3a14 Fix compiling with new libs 2017-10-30 22:35:27 +01:00
Maschell
1719033114 Adopt changes for the new libgui
- Needs a new SelectBox wrapper with default values.
- Removed the scale parameter from the default chechbox/Switch
- Removed unneeded values from the common.h
2017-10-29 16:06:17 +01:00
Maschell
c94d182911 Move custom GUI files into a seperate folder 2017-10-29 12:54:19 +01:00
Maschell
9ed51cd8cb Fixing the include paths 2017-10-29 12:45:54 +01:00
Maschell
8c2687aabf Move stuff into seperate static libraries. 2017-10-29 12:16:33 +01:00
Maschell
7b08a7eaa6 Use the new controller_patcher
- Adjusting loading the configs. (Mount the SD Card before initialization and provide the path of the configs)
2017-10-14 15:49:35 +02:00
Maschell
3f1872437c Fixed the "hitbox" of the settings elements.
- Now the on/off toggles  "hitbox" corresponde to the icon.
2017-10-14 15:49:14 +02:00
Maschell
f3d3a5835c Use the OS Touchscreen Calibration instead of hardcoded values 2017-10-14 15:47:19 +02:00
Maschell
9addd4f3c5 Fixed a typo on the Help Screen 2017-10-14 15:46:43 +02:00
Maschell
746f4712f5 Serveral minor improvements
- Improved logging
- Updated logger to make a broadcast logging when enabled
- Using the new controller_patcher lib (improved logging + more checks when parsing an .ini)
- Updated the function patcher
2017-10-14 13:25:18 +02:00
Maschell
efe14da687 - Now using the new dynamic_lib
- fixed possible bug in memory class
- added new makro to logger
- fixed warnings in sd devoptab
2017-10-10 21:05:57 +02:00
Maschell
c6ddfdc86f Now you can disable the network controller. In some games (e.g. splatoon) the network thread causes disconnects. This will hopefully fix this 2017-07-20 17:29:39 +02:00
Maschell
f7ccd7d58d Fixed accessing the friendlist while using HID to VPAD.
Updated used dynamic libs/controller patcher
2017-07-20 16:08:00 +02:00
Maschell
db5d26d9a0 Added Settings menu.
In the Settings you can:
- disable/ enable the music
- disable/ enable rumble
- set the language
2017-05-07 18:44:34 +02:00
Maschell
11f9e7f55f Acitvating/Deactivating the rumble depending on the settings 2017-05-07 14:57:33 +02:00
Maschell
20a5838c57 Code cleanup and bug fixed + more
- Fixed the intial value of the GuiToogle
- updated the filelist and added a icon for a settings menu
2017-05-07 14:56:35 +02:00
Maschell
fbb584be6a Using defines for the sd card paths, added a "MusicActivated" option to the settings 2017-05-07 14:54:15 +02:00
Maschell
f749160fd4 Added function to reload the UI 2017-05-07 14:52:18 +02:00
Maschell
b7d5e68026 - Using now os_usleep instead of usleep 2017-05-07 14:44:47 +02:00
Maschell
f26144eced - Added settings classes
- load language file from file set in the settings file
- put brackets arround "empty" if-statement (when the logger is undefined)
-
2017-05-06 19:53:36 +02:00
Maschell
b6feb1d4d0 no comment
bb6802e12f (diff-cdd8f39dc4ace4d761440f54b310f2f6)
2017-05-06 16:58:49 +02:00
Maschell
1f10750469 Fix: Using multiple controllers of the same type now possible again 2017-05-03 21:44:43 +02:00
Maschell
844bb24a5e Version bump to version 0.9i 2017-04-27 19:50:43 +02:00
Maschell
a2c1cef399 Adjusted stick sensitivity for the pro controller emulation 2017-04-27 19:33:29 +02:00
Maschell
9de3b8be6d Using the sampling callback instead of patching the KPADRead(Ex) and KPADGetUnifiedWpadStatus function.
This fixes the buttons pressed for unity games. This may break something, needs further testing.
2017-04-23 15:23:41 +02:00
Maschell
6b9cae49ed - Added support for the Switch Pro Controller via USB
- Added pre defined values for the switch pro controller config file
2017-04-23 12:19:09 +02:00
Maschell
a9e185d975 Added missing japanese version of Shantae and the Pirate's Curse to the list of unsupported games 2017-04-14 17:00:37 +02:00
Maschell
0c9287936a Attempted to make the GC-Rumble work more reliable 2017-04-14 16:50:00 +02:00
Maschell
4b170a72c6 Added option to keep patches when a starting a not fully supported game. 2017-04-14 16:35:30 +02:00
Maschell
9d89a8f53e Added an error message when a unsupported game is loaded (+ undoing the patches) 2017-04-14 16:10:34 +02:00
Maschell
97b8005051 Intial languages support and clean up
- Initial support for multiple languages (Currenty there is no option to set a language)
- Added language files for english and german
- Deleted not used resources
2017-04-14 13:10:57 +02:00
Maschell
c80e69154a Added patches for WPADSetConnectCallback and WPADSetDataFormat 2017-04-14 13:03:44 +02:00
Maschell
8391746768 Added rumble support for the network controller, changed protocol version to Version 3 2017-04-13 15:31:14 +02:00
Maschell
2872b5ef44 Added KPADRead patching and added fix for games which rely on the callback
- Saving the callback addresses. A user can then trigger the callback manually using the TV button. (fix for e.g. Zelda TP)
- Added patching of the KPADRead function. (Fix for e.g. Binding of Isaac Rebirth)
- Increasing the thread-priority of the TCP/UDP server for some games.
2017-04-13 10:21:47 +02:00
Maschell
a2f0008d2a Same for WPADProbe. 2017-04-11 19:08:09 +02:00
Maschell
d450843200 Return from KPADReadEx and VPADRead even if the error pointer was NULL. 2017-04-11 17:35:32 +02:00
Maschell
ec822df6c4 Adding more NULL checks before using pointer 2017-04-11 14:41:59 +02:00
Maschell
a5d4754594 Version bump to v0.9h 2017-04-10 17:31:37 +02:00
Maschell
194b954bf1 - 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:16:26 +02:00
Maschell
8e974c3175 Updated the TCP Handshake to also negotiate a protocol version.
This needs the newest HIDtoVPAD Network client to work!
2017-04-10 15:41:06 +02:00
Maschell
e48fc17615 Now using devkitpro r29, fixed bug with configs, improved logging and changed datatypes
- Finally switching to r29
- Modifed the travis and .pl script to download r29 of devkit pro
- Improved the logging (more information)
- Fixed the bug when you have too many config files on the sd card
(maximum now 24)
- Changed all int to s32
- Some more general code cleanup
2017-04-10 11:07:50 +02:00
Maschell
7d72d0e2ff 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:50:27 +02:00
Maschell
a5e30d27b3 Changed the network protocol to response with PONG after a received PING.
You need at least the version "v0.2-nightly-25e8bc6" from the network client to use the networkclient feature
2017-04-03 16:59:07 +02:00
Maschell
e89bfbbbd2 Fixed using multiple controllers of the same type (same vid/pid). 2017-04-02 19:06:09 +02:00
Maschell
1cdd5feb5e Disable button logging because it leads to random crashes. 2017-04-02 10:41:58 +02:00
Maschell
1eefe06d0d - Fixed the configuration of the keyboard
- Fixing the wrong checking of bitmasks. Now configure button combination should work.
2017-04-01 23:52:58 +02:00
Maschell
60458c46e4 Added a travis script for creating nightly
Hopefully this is working!
2017-04-01 23:40:59 +02:00
Maschell
e97ddcd2d4 (again) Fixed configs reading for controllers with default values 2017-03-31 17:30:26 +02:00
Maschell
4e0e174b51 - Fixed configs reading for controllers with default values
- fixed the app for japanese WiiUs
2017-03-31 16:54:16 +02:00
Maschell
aa421146c7 Release of HID to VPAD 0.9f
Changelog:
- Reaaaaaally a lot of things internally. Rewrote the many parts of the controller_patcher engine.
- Added a nice GUI! DarkIrata did a great job at creating the graphics.
- Finally fixed the DS3 bug in a official build (sorry for the delay)
- Controller can also be used to emulate Pro Controller
- Input preview/tester
- Supporting even more controller via the network client (e.g Xbox 360, Xbox one, the new DS4,Switch Pro Controller etc.). Big shoutout @QuarkTheAwesome who helped me there!
- Added support for DS3 Rumble (thanks @skid_au)
- GC-Adapter rumble fixed.
- Support for all slots of deviced with multiple slots (like https://github.com/Maschell/controller_patcher_configs/blob/master/DualShock2.ini)
- Hopefully reduced the random crashes.
- Probably some stuff I already forgot.
2017-03-30 20:11:37 +02:00