Commit Graph

177 Commits

Author SHA1 Message Date
Jose Ernesto Ramirez Ramirez
09f3c3ca77 Fixed nunchuk controller support, it was not correctly detected.
Fixed classic controller's analogs, were not working at all.
Restored sixaxis controller support, now with completely rewroten library.
Changed detection order (GC, Sixaxis, Wiimote/Nunchuck/Classic, left wiimote at the end, otherwise we needed to disconnect it to be able to use GC controller or sixaxis controller.
2015-07-13 22:58:01 -05:00
radius
82feadd350 fix vid/pid saving for dinput, need to add it to other drivers 2015-07-12 15:29:49 -05:00
twinaphex
7fb1265227 (PSP/CTR) Should fix lifecycle state menu toggling 2015-07-12 10:46:20 +02:00
twinaphex
23348f41ac (GX) Menu button toggle should work again 2015-07-12 10:41:49 +02:00
twinaphex
135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
twinaphex
0107be2485 (GX) Refactor controls 2015-07-12 01:58:43 +02:00
twinaphex
2bdce53651 (PSP) Refactor input code 2015-07-12 01:55:51 +02:00
twinaphex
69a406809e (CTR) Refactor code 2015-07-12 01:53:32 +02:00
radius
0ea522585d add a function to save controller profiles 2015-07-10 20:15:14 -05:00
twinaphex
2f9e8b44e3 (input) Get rid of remaining unused global pointers 2015-07-10 19:08:58 +02:00
twinaphex
2eab572773 (CTR) Don't depend on global state in input driver 2015-07-10 18:51:04 +02:00
twinaphex
2698d4622a (PSP) Don't depend on global state in input driver 2015-07-10 18:47:56 +02:00
twinaphex
e2d510e4f6 (GX) No longer depend on global pointer in input driver 2015-07-10 18:44:11 +02:00
radius
9d268aba54 refactor input autoconfiguration to use a score system 2015-07-09 22:46:28 -05:00
radius
c604b44672 add vid/pid to dinput 2015-07-09 20:39:43 -05:00
twinaphex
34414b5919 Menu toggle should be properly saved now with custom bind - the
forced hack broke all sorts of behavior
2015-07-09 22:16:27 +02:00
Jools Wills
9fb753410e cosmetic - fix incorrect tab indentation introduced by 141dbabe3d 2015-07-09 20:03:36 +01:00
twinaphex
7867c3ee74 (dinput_joypad.c) Cleanup 2015-07-09 18:45:48 +02:00
Twinaphex
b91f310b60 Merge pull request #1934 from fr500/master
Add VID/PID to the joypad struct
2015-07-09 18:44:46 +02:00
radius
af978297e2 fix nits 2015-07-09 11:31:05 -05:00
radius
141dbabe3d add VID/PID to the dinput_joypad struct 2015-07-09 11:29:04 -05:00
twinaphex
425948c706 (udev_joypad.c) Alcaro might have inadvertently broken compute_axis
here - see https://github.com/libretro/RetroArch/issues/1900
2015-07-09 07:59:16 +02:00
twinaphex
954121b99c Kill off some console-only hacks to do with lifecycle state 2015-07-09 06:35:18 +02:00
Toad King
55553623f9 [GX] minor fix on gamepad state 2015-07-04 15:37:29 -05:00
Toad King
26b4dc79d0 [Android] clear bindings on context reset, they end up getting rebound anyway
bump version
2015-07-02 23:06:53 -05:00
Toad King
d0866995bd set back button to menu toggle if not set through autoconf 2015-07-02 21:48:06 -05:00
twinaphex
96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
Alcaro
4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
Alcaro
97f8188969 Clean up some C99 longlongs. 2015-06-26 16:21:50 +02:00
Toad King
6416f825ed [GX] fix controllers not loading autoconfig after starting games 2015-06-24 22:42:50 -05:00
twinaphex
daf4f5719b (Input) Cleanups 2015-06-13 00:02:28 +02:00
Twinaphex
2b2bf7911a (XInput) Buildfix 2015-06-04 15:33:22 +02:00
twinaphex
ee017b1516 (udev_joypad.c) Move macros to top 2015-06-03 20:20:25 +02:00
twinaphex
a2ee87efe4 Simplify udev_free_pad 2015-06-03 19:55:50 +02:00
twinaphex
47ac99c2db (udev_joypad.c) Fix reconnect issue 2015-06-03 19:50:48 +02:00
twinaphex
bfdde9c586 (udev_joypad.c) Refactor udev_add_pad 2015-06-03 19:02:48 +02:00
twinaphex
976428f7fd (udev_joypad.c) Remove 'Device connected' message - autoconfig already
does this
2015-06-03 18:57:43 +02:00
twinaphex
1a5e16ff99 Create input_config_autoconfigure_disconnect 2015-06-03 18:55:04 +02:00
twinaphex
c24a5de3a8 (udev_joypad.c) More style nits 2015-06-03 18:39:52 +02:00
twinaphex
23e2dfafd3 (udev_joypad.c) Style nits 2015-06-03 18:36:38 +02:00
twinaphex
22bd3b2d4f (udev_joypad.c) Style nits 2015-06-03 18:31:06 +02:00
twinaphex
17a040e002 (udev_joypad.c) Get rid of some forward declarations 2015-06-03 18:28:54 +02:00
twinaphex
660641f328 Pass handle to input driver to joypad driver's init function 2015-06-03 18:22:54 +02:00
twinaphex
37da7a7fd3 (udev_joypad.c) Cleanups 2015-06-03 15:29:47 +02:00
twinaphex
5b82a6896c (linuxraw_joypad.c) Take out IS_JOYCONFIG ifdefs 2015-06-03 15:27:38 +02:00
twinaphex
b56d6bbb01 (udev_joypad.c) Get rid of IS_JOYCONFIG ifdefs 2015-06-03 14:15:39 +02:00
twinaphex
dd57369433 udev_free_pad - weird implementation, cleanup 2015-06-03 14:09:30 +02:00
twinaphex
969bbdd85d Get rid of some unused runloop variables 2015-05-20 03:13:42 +02:00
twinaphex
375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Toad King
0112847082 fix hotplug detection on wii 2015-05-12 20:34:54 -05:00
twinaphex
7242693e69 (Android) Go back to old input code 2015-05-09 09:38:45 +02:00
twinaphex
87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
twinaphex
cf1d56dbda (Android) Put input state code on android_input_state_t 2015-04-29 04:48:34 +02:00
twinaphex
c3bfa72e6f (Android) Start putting input state on separate struct 2015-04-29 04:17:31 +02:00
twinaphex
6bf30bb714 (PS3) Buildfixes 2015-04-14 21:58:39 +02:00
twinaphex
8c6cce3945 Rename rarch_joypad_driver_t to input_device_driver_t 2015-04-14 16:37:59 +02:00
twinaphex
6db7115484 Start renaming 'Joypad' to 'Input Device' 2015-04-14 05:40:36 +02:00
twinaphex
0057510caf (libusb) Add disconnect message, change "Joypad" terminology to
'Device'
2015-04-14 05:36:43 +02:00
twinaphex
0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex
de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex
19260898eb Replace dynamic.h header dependencies to dylib.h header dependencies 2015-04-11 10:38:10 +02:00
twinaphex
45cc15100c (xinput_joypad.c) Call dylib_close 2015-04-09 05:46:07 +02:00
Twinaphex
94ceaa1b60 Merge pull request #1611 from aliaspider/master
(3DS) fix analog.
2015-04-08 23:24:41 +02:00
aliaspider
c5aff59f1b (3DS) fix analog. 2015-04-08 22:18:44 +01:00
Twinaphex
45e3bef420 Merge pull request #1610 from aliaspider/master
(3DS) implement input correctly.
2015-04-08 22:54:47 +02:00
aliaspider
20b71c89c6 (3DS) implement input correctly. 2015-04-08 21:35:10 +01:00
twinaphex
88c300cb58 (xinput_joypad.c) Go through dylib_load 2015-04-08 20:12:50 +02:00
twinaphex
8290e89650 (xinput_joypad.c) Cleanups - go through dylib_proc 2015-04-08 07:48:23 +02:00
twinaphex
ddab95d1a6 (MSVC) Buildfix 2015-04-08 02:05:50 +02:00
twinaphex
78e5206e8f (DInput) Buildfix pt. 2 2015-04-08 02:04:02 +02:00
twinaphex
58321991b0 (DInput) Buildfix pt. 2 2015-04-08 02:02:59 +02:00
twinaphex
ce6401f327 (DInput) Update 2015-04-08 02:02:10 +02:00
twinaphex
8cc8f855e1 (DInput) Split up dinput joypad into separate file 2015-04-08 01:58:09 +02:00
twinaphex
160c581df6 (XDK1) Cleanups 2015-04-06 20:47:29 +02:00
twinaphex
39d371bcbb (PSP) Just autodetect first pad 2015-04-06 06:02:37 +02:00
twinaphex
eaf2ea860a (PS3) Add hotplugging 2015-04-06 03:50:54 +02:00
twinaphex
965991ec72 (PS3) Add ps3_joypad_autodetect_pad 2015-04-06 03:21:40 +02:00
twinaphex
29b7785dd7 (XDK1) Add pad disconnected message 2015-04-06 02:30:27 +02:00
twinaphex
b5e5dc58c2 (XDK1) Only add autodetect pad if pad inserted 2015-04-06 02:28:58 +02:00
twinaphex
9734b606b1 (XDK1) Only add autodetect pad if inserted 2015-04-06 02:24:08 +02:00
twinaphex
c73377857b (iOS) Get rid of apple_ios_joypad - refactored into btstack HID driver 2015-04-04 02:09:31 +02:00
twinaphex
5fdaa293fb Rename winxinput_joypad to xinput_joypad 2015-04-03 02:37:10 +02:00
twinaphex
5fd1ff826a (input) Namespace functions 2015-04-03 01:37:20 +02:00
twinaphex
494a190c5b (drivers_joypad) Cleanups 2015-04-03 01:19:51 +02:00
twinaphex
4205b3e8f3 (input) Cleanups 2015-04-03 01:02:46 +02:00
twinaphex
b202d54dd3 Rename null joypad driver 2015-04-02 18:44:02 +02:00
twinaphex
37acf75b4c Rename most joypad drivers - should now all have consistent names 2015-04-02 18:42:15 +02:00
SuperrSonic
17bb05d3d1 (Wii) Simple fix for Wiimote not connecting after
... loading game, core, history, exiting, anything that reloads RA.
2015-04-02 04:36:46 -04:00
Twinaphex
f04f4e8b93 (HID) Buildfix 2015-04-01 23:33:21 +02:00
Twinaphex
db2dd5010b Merge pull request #1559 from aliaspider/master
preliminary 3DS port.
2015-04-01 23:18:12 +02:00
aliaspider
2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
Twinaphex
89105bda56 (Apple HID) Updates 2015-04-01 22:57:15 +02:00
twinaphex
43bb5c81cc Start creating input HID driver interface, etc. 2015-04-01 22:31:43 +02:00
Twinaphex
f9d98cccd3 (Apple HID) Refactor 2015-04-01 20:49:26 +02:00
twinaphex
f1533f8ebf (HID) Start refactoring the Apple HID joypad driver to be a more
general-purpose HID joypad driver
2015-04-01 20:00:38 +02:00
Twinaphex
da428a70d3 (Apple) apple_joypad_hid.c is going to become a more generic
'HID joypad' driver
2015-03-31 15:14:39 +02:00
Twinaphex
f473d6237f (Apple) Dirty buildfix for now 2015-03-31 14:46:44 +02:00
twinaphex
cdee9eb9d8 Split up Apple HID code to input/drivers_hid/apple_hid.c 2015-03-31 14:44:51 +02:00
Twinaphex
b88f7b3af5 (iOS) Create iOS 6 scheme 2015-03-31 01:58:55 +02:00
Twinaphex
8a33670c7c (iOS) Move included source files to Griffin 2015-03-30 22:29:30 +02:00