Commit Graph

1197 Commits

Author SHA1 Message Date
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 2087a41f20 (connect) Style nits 2015-04-07 18:49:21 +02:00
twinaphex ea7815bf32 (libusb) Cleanups 2015-04-07 18:24:16 +02:00
Toad King 9eb2dab4d4 fix crash in libusb_hid 2015-04-06 23:05:39 -05:00
Toad King 730be95302 stop threads before destroying pad_connections 2015-04-06 22:24:01 -05: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 160c581df6 (XDK1) Cleanups 2015-04-06 20:47:29 +02:00
twinaphex 85c48f0c3d (input_common.c) Remove strings.h 2015-04-06 18:31:48 +02:00
twinaphex 101af7b1c9 (input_common.c) Add <strings.h> 2015-04-06 18:24:35 +02:00
twinaphex 39d371bcbb (PSP) Just autodetect first pad 2015-04-06 06:02:37 +02:00
twinaphex a670f3466c (libusb) libusb changes 2015-04-06 04:53:05 +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 7f58dedb46 Merge pull request #1588 from aliaspider/master
(3DS) video driver rewrite.
2015-04-05 21:44:23 +02:00
aliaspider 14ac3fe250 (3DS) use touch for menu toggle.
keep console visible on exit until start is pressed.
2015-04-05 20:39:18 +01:00
twinaphex 592e5d9f4a Change HAVE_WINXINPUT to HAVE_XINPUT 2015-04-05 20:54:46 +02:00
twinaphex ed9ad7c9d7 (windows) Change 'winxinput' to 'xinput' 2015-04-05 20:43:24 +02:00
Twinaphex 24cc0b5e4d (iOS) Move files around for MFi gamepad code 2015-04-05 15:41:41 +02: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 0651a925c1 (apple_input.h) Cleanups 2015-04-04 23:27:42 +02:00
radius 5e6cf7d74d windows build fixes 2015-04-04 13:56:26 -05:00
twinaphex 5b688ea8be Move keyboard_event files to input/drivers_keyboard 2015-04-04 20:42:16 +02:00
twinaphex 5bffebd203 (libusb_hid.c) Preliminary implementation of adapter_thread 2015-04-04 17:30:50 +02:00
twinaphex 52312b51a7 pad_connection_pad_init: improve detection 2015-04-04 16:42:38 +02:00
twinaphex a6056819cf (libusb_hid.c) Move pad_connection_init up in 'init' function 2015-04-04 16:32:06 +02:00
twinaphex ffd364c5ff Rename btstack.c to btstack_hid.c 2015-04-04 05:23:26 +02:00
twinaphex ecd6ab7027 (BTStack) Rename btstack_hid.c to btstack.c 2015-04-04 05:22:14 +02:00
twinaphex 03d6e3a109 (null_hid.c) Add header include 2015-04-04 02:41:12 +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 9bfe575a90 (BTStack) Refactor btstack_hid to become a driver 2015-04-04 02:07:18 +02:00
twinaphex 0b09237741 (btstack_hid.c) Cleanups 2015-04-04 01:45:04 +02:00
twinaphex 55a162a77b (btstack_hid) Cleanups 2015-04-04 01:41:20 +02:00
twinaphex 677723ba3c (btstack.h) Cleanups 2015-04-04 01:06:50 +02:00
Twinaphex 2b420f0b3e (iOS) Buildfix 2015-04-04 01:03:32 +02:00
twinaphex 68b4304efd (HID) Move btdynamic/btpad to input/drivers_hid 2015-04-04 00:58:38 +02:00
twinaphex 5e83eefd81 Add VID/PID detection for joypad connection 2015-04-03 23:30:51 +02:00
twinaphex 61edabf6f4 (libusb) Correct send_control function implementation 2015-04-03 20:49:49 +02:00
twinaphex 606eaa59ae (libusb_hid) Cleanup 2015-04-03 19:33:47 +02:00
Twinaphex 3c9e702320 (apple_hid.c) Cleanup 2015-04-03 19:21:44 +02:00
twinaphex b3be54721e (libusb) Cleanups 2015-04-03 19:02:35 +02:00
twinaphex b0d740ea09 (libusb) Further fleshing out 2015-04-03 18:52:48 +02:00
twinaphex 76b52e4f57 (Libusb HID) Flesh out driver some more 2015-04-03 05:26:58 +02:00
Twinaphex e87cd94fed (HID) Simplify apple_hid_joypad_button/apple_hid_joypad_axis, etc 2015-04-03 05:06:10 +02:00
twinaphex 9d5f44a7c6 (connect_wii.c) Cleanups 2015-04-03 03:14:57 +02:00
twinaphex 05b8fbf1aa (connect_wii.c) hidpad_wii_get_axis - style nits 2015-04-03 03:07:44 +02:00
Twinaphex b9d244bd3b (connect_wii.c) Refactor hidpad_wii_axis 2015-04-03 03:06:37 +02:00
twinaphex e7c7b55004 (connect_wii.c) Dehardcode some magic numbers 2015-04-03 02:56:37 +02:00
twinaphex 7665226f4c (connect_wii.c) Get rid of two unused macros 2015-04-03 02:52:20 +02:00
twinaphex 5fdaa293fb Rename winxinput_joypad to xinput_joypad 2015-04-03 02:37:10 +02:00
twinaphex e997f9a477 (QNX) Namespace functions 2015-04-03 01:39:13 +02:00
twinaphex 5fd1ff826a (input) Namespace functions 2015-04-03 01:37:20 +02:00
twinaphex 7fc95a1726 (input_autodetect.c) Move enum to top 2015-04-03 01:22:55 +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 ae922a9593 (qnx_input.c) Cleanups 2015-04-03 00:57:54 +02:00
twinaphex 0fa5fd91dd (libusb) Start allocating and freeing joypad connections 2015-04-02 22:51:04 +02:00
Twinaphex 79431fcc7e (connect_wii.c) Change type of state variable 2015-04-02 22:46:11 +02:00
Twinaphex 682ec250eb (connect_wii.c) Fix 2015-04-02 20:48:38 +02:00
twinaphex e0a5a77034 (connect_wii.c) Cleanups 2015-04-02 20:27:47 +02:00
twinaphex b2a2af2355 (connect_wii.c) Buildfix 2015-04-02 19:55:45 +02:00
twinaphex 469b939dfc (connect_wii.c) Don't rely on htonl/htons for endian byte swapping 2015-04-02 19:52:47 +02:00
twinaphex 8bd0253c27 (connect_wii.c) Cleanups 2015-04-02 18:52:58 +02:00
twinaphex 6433cdf2e7 (input/connect) Cleanups 2015-04-02 18:48:44 +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
Twinaphex 119dcdd163 (iOS) Buildfix 2015-04-02 18:34:10 +02:00
twinaphex 6ea55bfaa9 (connect_ps4.c) Fix condition check 2015-04-02 18:28:29 +02:00
twinaphex f8823836de (connect_wii.c) Get rid of 'byte' typedef 2015-04-02 18:12:21 +02:00
twinaphex b9e6b014e3 Start preparing joypad_connection code for cross-platform purposes 2015-04-02 17:49:32 +02:00
twinaphex 0c2548bd25 (libusb) Start passing userdata pointer to hotplug callback 2015-04-02 17:28:30 +02:00
twinaphex f8b405a4d2 (libusb) Add manufacturer descriptor/device descriptor to interface struct 2015-04-02 17:16:51 +02:00
twinaphex e1d67f23b1 (apple_hid.c) Cleanup 2015-04-02 16:54:23 +02:00
twinaphex 6c4e92f0ca (apple_hid.c) style nits 2015-04-02 16:49:50 +02:00
Twinaphex 92fc29a762 (Apple HID) Cleanups 2015-04-02 16:47:36 +02:00
Twinaphex d9b96374f0 Merge pull request #1568 from lioncash/retval
hid: Fix return of potentially uninitialized pointers
2015-04-02 15:45:22 +02:00
twinaphex d3db9d2335 (Libusb/HID) Start adding preliminary libusb HID driver - based
on https://github.com/nonolith/libusb/blob/master/examples/hotplug.c and https://github.com/ToadKing/wii-u-gc-adapter/blob/master/wii-u-gc-adapter.c
2015-04-02 15:43:23 +02:00
Lioncash c947b4c6a2 hid: Fix return of potentially uninitialized pointers
After a pointer is freed it's considered to be a dangling pointer. Returning a dangling pointer is undefined behavior.
2015-04-02 09:16:26 -04: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
aliaspider c2d3299d4e (3DS) add the ability to open the menu with L+R+Start+Select. 2015-04-02 02:38:49 +01:00
aliaspider 27bd10b21d implement a very basic input driver, will need to be implemented
correctly later.
2015-04-02 02:19:21 +01:00
twinaphex 5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
twinaphex 9ade0a8a7f (HID) Create null_hid 2015-04-02 00:20:38 +02:00
Twinaphex 6f8194bf65 (Apple HID) Use ident name of HID input driver 2015-04-02 00:02:32 +02: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
Twinaphex 05db495f63 (HID) Cleanups 2015-04-01 23:16:43 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
Twinaphex 4ec9a7542c (Apple HID) Buildfix 2015-04-01 23:05:59 +02:00
twinaphex ff65ad8652 (Apple HID) Cleanups 2015-04-01 23:05:02 +02: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