Commit Graph

95 Commits

Author SHA1 Message Date
twinaphex
24f5275001 Use wiiugca for non-Wii too 2016-02-04 23:49:04 +01:00
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
acb4682781 get rid of unused variable 2015-12-23 04:22:25 +01:00
twinaphex
d76d857166 Turn into C89-compatible comment 2015-12-13 00:01:44 +01:00
dibas
f66729c012 Calibrate Wii U Pro Controller analogue sticks. 2015-12-12 21:47:45 +01:00
twinaphex
5f296ea402 Fix hatvalues 2015-12-12 20:55:09 +01:00
dibas
0c749a6181 Implemented additional checks for Nintendo controllers. 2015-12-12 20:41:52 +01:00
twinaphex
88d54336c7 (wiiupro) Add stub axis implementation 2015-12-12 20:38:23 +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
8516e3350f Change send_control 2015-12-12 19:33:04 +01:00
twinaphex
e529d76aec Turn buttons into booleans 2015-12-12 19:10:50 +01:00
twinaphex
9394294956 (joypad_connection) Stub Wii U Pro implementation - untested 2015-12-12 18:30:17 +01:00
twinaphex
d70d09ad8d (connect_ps4.c) Cleanup 2015-12-12 17:58:40 +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
a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
twinaphex
53aa251008 (joypad_connection.h) Cleanups 2015-11-17 06:54:59 +01:00
twinaphex
790bb0d0d6 Minor code cleanups based on static code analysis 2015-09-28 22:07:40 +02:00
twinaphex
5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex
8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
twinaphex
f95049e99c Add wiiusb_hid driver courtesy of @xerpi 2015-08-30 09:48:38 +02:00
twinaphex
195aba50b2 Try to avoid some symbol conflicts 2015-08-29 14:20:39 +02:00
slotek
7431529e89 Restore generic Mac OS X joypad functionality 2015-07-29 10:12:31 -06:00
twinaphex
135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
twinaphex
e74e402cdc More C89 build fixes 2015-06-30 14:37:11 +02: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
1b34dd4ce0 Some more CXX_BUILD fixes 2015-06-25 17:36:31 +02:00
twinaphex
0e2345227a Some CXX_BUILD fixes 2015-06-25 17:25:09 +02:00
twinaphex
35402884e5 (connect_wii.c) Cleanups 2015-06-13 01:59:26 +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
twinaphex
2087a41f20 (connect) Style nits 2015-04-07 18:49:21 +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