gblues
d0adbd194e
Revert changes to joypad API
...
== DETAILS
Premature. Still learning my way around the codebase.
2017-12-30 04:40:53 +01:00
gblues
5804233ca8
Start fleshing out wiiu_hid driver
...
== DETAILS
- Added entrypoints into `input/connect/joypad_connection.c` to allow
a max value to be passed in, instead of using single macro value
- Created a hand-off between the HID attach handler and the worker thread
- Created a pad initializer in `wiiu_hid.c` leveraging the new functionality
added to `joypad_connection.c`
== TESTING
Compiles cleanly. At best, doesn't do anything. Might crash--not ready
to test quite yet.
2017-12-30 04:40:39 +01:00
Twinaphex
26f483b22d
Merge pull request #5882 from hiddenasbestos/dolphinbar
...
Mayflash DolphinBar
2017-12-17 16:48:26 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
David Walters
124ddcd27a
Add dolphin bar VID/PID - treat like a wii over bluetooth connection
2017-12-07 23:44:29 +00:00
twinaphex
f0c143766e
Change to 256bit macros
2017-12-05 12:07:35 +01:00
twinaphex
6c09661a64
Move defines to retro_miscellaneous.h
2017-12-05 10:42:37 +01:00
twinaphex
e94300a581
Get rid of a lot of RARCH_INPUT_STATE_BIT_ macros - replace them
...
with BIT128_ equivalents instead
2017-12-05 09:22:56 +01:00
David Walters
f09477d46a
additional compile fixes
2017-11-28 10:36:16 +00:00
David Walters
c5bdc02d6f
replace uint64_t with retro_bits_t* for pad buttons state
2017-11-28 10:04:34 +00:00
daniel jimenez
e91bae38cf
Introduce button mappings for generic usb controller
2017-11-13 22:08:24 -08:00
twinaphex
e16371b8a5
Merge input_config.c and input_driver.c
2017-08-31 02:25:04 +02:00
twinaphex
b11620e1eb
Add retro_timers.h/retro_math.h
2017-06-28 04:41:38 +02:00
twinaphex
5d1cfc47cc
C89_BUILD fixes
2017-06-25 04:05:34 +02:00
twinaphex
5c973b6649
Add another entry to debug logging
2017-06-18 15:52:17 +02:00
twinaphex
2d76e98c22
Add debug logging
2017-06-18 15:48:44 +02:00
Daniel Jimenez
5267b630f8
Added code for single port psx to ps3 adapter
...
On branch master
Changes to be committed:
modified: ../griffin/griffin.c
modified: ../input/connect/connect_ps2adapter.c
new file: ../input/connect/connect_psxadapter.c
modified: ../input/connect/joypad_connection.c
modified: ../input/connect/joypad_connection.h
2017-06-17 14:19:09 -07:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
Brad Parker
1d3e1a6962
DOS/DJGPP buildfix
2017-01-20 18:23:45 -05:00
twinaphex
a5e4ea2f33
C89_BUILD fix
2016-12-24 01:47:01 +01:00
Dave Leaver
f7c6574b37
Correctly handle adding controllers if we fail to match them to the known pad_map.
2016-12-16 20:16:55 +13:00
twinaphex
afe67ca254
C89/C90 don't support bitfields on uint8_t - work around this
2016-06-07 14:47:54 +02:00
twinaphex
974d3245d2
Fix logically dead code warnings
2016-05-23 22:04:00 +02:00
twinaphex
4a7ab8366b
Move libretro.h headers to libretro-common/include
2016-05-10 19:03:53 +02:00
twinaphex
4f2d1d7c93
Silence warning 'val may be unused uninitialized in this function'
2016-04-21 07:22:26 +02:00
twinaphex
97d5a971a4
Change header includes
2016-04-17 07:34:01 +02:00
Ernesto Ramirez
c4f2de321a
(GX) Added PS2/PSX Controller Adapter for HID driver.
2016-04-16 19:33:17 -05:00
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