Commit Graph

98 Commits

Author SHA1 Message Date
twinaphex 407d85f604 Use nesusb/snesusb for non-Wii too 2016-02-04 23:43:33 +01:00
netux79 bca4ccb155 (GX) Refactor of the Wii USB HID support. Now it's working!
In order to have a controller working you need:
1) Have a matching HID autoconfig file in autoconfig/hid for your controller.
2) Create a "connect" driver for the pad in "input/connect" folder (source code of RA).
3) Once you are in RA, change the joystick driver to HID and restart.
4) You may be now able to use you USB HID compatible pad in RA.

I included some "connect" drivers as an example. It also need to include them for compilation.
2016-02-04 17:01:03 -05:00
twinaphex 2e8f015de3 Cleanups 2016-02-04 21:07:02 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex 2caa529347 Change VID/PID again 2016-01-14 09:56:07 +01:00
twinaphex 5dd10f1d45 pad_connection_pad_init - cleanup 2016-01-14 09:53:00 +01:00
twinaphex 144b6aed9e Cleanup 2016-01-14 09:52:20 +01:00
twinaphex 974e8d6ce2 (joypad_connection.c) Cleanups 2016-01-14 09:51:17 +01:00
twinaphex ec6f70603b Add PID/VID for PS3 pad knockoff 2016-01-14 09:03:04 +01:00
twinaphex 347a18cb30 Update input headers 2016-01-10 04:33:01 +01:00
twinaphex d76d857166 Turn into C89-compatible comment 2015-12-13 00:01:44 +01:00
dibas 0c749a6181 Implemented additional checks for Nintendo controllers. 2015-12-12 20:41:52 +01:00
Twinaphex d85595ca67 Put Wii-U Pro pad on top of Wii Classic pad in list 2015-12-12 20:06:10 +01:00
twinaphex 9394294956 (joypad_connection) Stub Wii U Pro implementation - untested 2015-12-12 18:30:17 +01:00
twinaphex cbb3535854 joypad_connection.c - include stdlib.h for calloc 2015-12-05 13:24:15 +01:00
twinaphex a3c34a7813 Cleanups 2015-11-28 02:31:19 +01:00
twinaphex 790bb0d0d6 Minor code cleanups based on static code analysis 2015-09-28 22:07:40 +02:00
slotek 7431529e89 Restore generic Mac OS X joypad functionality 2015-07-29 10:12:31 -06:00
twinaphex d61ad058b4 Some CXX_BUILD fixes 2015-06-26 12:38:33 +02:00
twinaphex 0d50840749 (joypad_connection.c) Cleanups 2015-06-25 18:25:20 +02:00
twinaphex 0e2345227a Some CXX_BUILD fixes 2015-06-25 17:25:09 +02:00
twinaphex 123b85dbb0 Change returntype of pad_connection_init 2015-06-13 01:40:55 +02:00
Twinaphex d2abe61e30 (joypad_connection.c) pad_connection_has_interface - pad >= 0 would
always be true
2015-04-20 12:12:32 +02:00
Toad King 3c67a80713 fix crash on shutdown in libusb_hid 2015-04-06 22:21:28 -05:00
Toad King 5701f4f73a libusb updates, still need to figure out config issue preventing keys being registered 2015-04-06 22:07:59 -05:00
twinaphex b263df08f6 (joypad_connection.c) Cleanups 2015-04-04 23:44:02 +02:00
twinaphex 4c7c1094e2 (joypad_connection.c) Remove unused is_gcapi 2015-04-04 23:38:19 +02:00
twinaphex 35e273bcdb Make pad_connection_find_vacant_pad non-static 2015-04-04 23:34:04 +02:00
twinaphex 31b6323094 Move apple_joypad_connect_gcapi to apple_gamecontroller.m and
make it a static function
2015-04-04 23:33:01 +02:00
twinaphex 52312b51a7 pad_connection_pad_init: improve detection 2015-04-04 16:42:38 +02:00
twinaphex 5e83eefd81 Add VID/PID detection for joypad connection 2015-04-03 23:30:51 +02:00
twinaphex b0d740ea09 (libusb) Further fleshing out 2015-04-03 18:52:48 +02:00
twinaphex b9e6b014e3 Start preparing joypad_connection code for cross-platform purposes 2015-04-02 17:49:32 +02:00
Twinaphex ebd85ea02b (PS4/joypad_connection) PS4 joypad is starting to work 2015-03-31 21:18:21 +02:00
Twinaphex 047fdbd3fc (PS4/joypad_connection) Changes 2015-03-31 19:23:06 +02:00
twinaphex cf4b43f3fa (joypad_connection) Cleanups 2015-02-15 03:59:57 +01:00
twinaphex 65f6d2253d (joypad_connection.c ) change 'used' to 'connected' 2015-02-15 03:54:38 +01:00
twinaphex 738d70d2f8 Add get_buttons callback 2015-02-15 01:57:29 +01:00
Twinaphex da24b62de9 (Apple) Build fixes 2015-01-19 05:05:41 +01:00
twinaphex 824f00be15 (input/connect) Cleanups 2015-01-19 05:01:31 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex 7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex f08f78e86a (joypad_connection) start calling 'connect' function 'init'
and 'disconnect' 'deinit'
2014-10-22 07:59:52 +02:00
twinaphex 0fb301fa43 (joypad/connect) Change 'index' local variables 2014-10-20 20:32:41 +02:00
Twinaphex fdd616abcb (joypad_connection.c) Refactor pt. 2 2014-10-06 01:49:00 +02:00
Twinaphex 29f640fe5d (joypad_connection.c) refactor pt. 1 2014-10-06 00:37:11 +02:00
Twinaphex df0fbb7cf3 (OSX) More optimal polling of buttons/axis from pad_connection 2014-10-05 03:28:43 +02:00
twinaphex d4a14c4cb9 Move joypad_connection code to input/connect 2014-10-04 23:02:48 +02:00