Commit Graph

240 Commits

Author SHA1 Message Date
twinaphex
24a94490ab Remove some header includes 2015-08-30 09:36:50 +02:00
twinaphex
1489839384 (OSX) Add HAVE_COCOA and HAVE_COCOATOUCH ifdefs to iohidmanager_hid.c 2015-08-01 05:19:44 +02:00
slotek
7431529e89 Restore generic Mac OS X joypad functionality 2015-07-29 10:12:31 -06:00
twinaphex
01415528c6 (libusb) Update 2015-07-12 01:08:53 +02:00
twinaphex
1c406bc098 Add rarch_main_data_pending_scan_finished and other mechanisms
so that the call to menu_environment_cb gets made on main thread
2015-07-09 02:31:46 +02:00
twinaphex
12ca517cf7 (libusb) Cleanups 2015-07-09 01:51:44 +02:00
twinaphex
4109768a9a (libusb_hid.c) Use retro_log.h 2015-06-30 14:48:57 +02:00
twinaphex
80142af594 (libusb) Another API not C89-compliantl 2015-06-29 23:19:02 +02:00
twinaphex
46c99bd225 (libusb_hid.c) Buildfixes for CXX_BUILD 2015-06-26 13:16:47 +02:00
twinaphex
6988f1bb76 (libusb_hid.c) Define LIBUSB_CAP_HAS_HOTPLUG in case it's not there 2015-06-26 13:06:48 +02:00
twinaphex
b679f75f91 (iohidmanager_hid.c) Cleanups 2015-06-25 18:27:28 +02:00
Twinaphex
227c986143 More CXX_BUILD fixes 2015-06-25 17:40:09 +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
1a5e16ff99 Create input_config_autoconfigure_disconnect 2015-06-03 18:55:04 +02:00
twinaphex
87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
twinaphex
f02ef849ae (HID) Fixup 2015-05-06 04:10:49 +02:00
twinaphex
f57132ff6f Protect against failed pad init 2015-05-06 04:03:00 +02:00
Twinaphex
1fb00bdac3 Add HAVE_IOHIDMANAGER to qb/config.libs.sh 2015-04-20 12:04:31 +02:00
Twinaphex
f506e722b1 (Apple) Rename apple_hid to iohidmanager_hid 2015-04-20 11:52:10 +02:00
twinaphex
8702141d90 (Cocoa) Start renaming input_apple to input_cocoa 2015-04-19 17:58:15 +02:00
Lioncash
fff8ef3db7 libusb_hid: Fix a potential memory leak 2015-04-15 03:22:27 -04:00
twinaphex
0057510caf (libusb) Add disconnect message, change "Joypad" terminology to
'Device'
2015-04-14 05:36:43 +02:00
Toad King
7f229e57ab add hotplugging to libusb hid driver 2015-04-13 19:19:10 -05:00
twinaphex
6c5489e9c8 Rename get_ios_version_major 2015-04-13 18:20:05 +02:00
Twinaphex
2c53d57e9e (iOS) Refactor get_ios_version_major 2015-04-13 18:17:48 +02:00
twinaphex
19260898eb Replace dynamic.h header dependencies to dylib.h header dependencies 2015-04-11 10:38:10 +02:00
Twinaphex
ab87700597 (MFI) Forgot to commit MFi HID files 2015-04-09 17:26:42 +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
5701f4f73a libusb updates, still need to figure out config issue preventing keys being registered 2015-04-06 22:07:59 -05:00
twinaphex
a670f3466c (libusb) libusb changes 2015-04-06 04:53:05 +02:00
Twinaphex
24cc0b5e4d (iOS) Move files around for MFi gamepad code 2015-04-05 15:41:41 +02:00
twinaphex
5bffebd203 (libusb_hid.c) Preliminary implementation of adapter_thread 2015-04-04 17:30:50 +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
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
0fa5fd91dd (libusb) Start allocating and freeing joypad connections 2015-04-02 22:51:04 +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
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
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
05db495f63 (HID) Cleanups 2015-04-01 23:16:43 +02: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
Twinaphex
f9d98cccd3 (Apple HID) Refactor 2015-04-01 20:49:26 +02:00
Twinaphex
ee43f89aa7 (HID) Buildfix 2015-04-01 20:02:59 +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
9f319e60e1 (Apple HID) Some more refactors 2015-04-01 16:13:14 +02:00
Twinaphex
6b3fc76154 (Apple HID) Cleanups 2015-04-01 15:46:07 +02:00
Twinaphex
dc52663281 (Apple HID) Create apple_hid_get_product_string 2015-04-01 15:32:30 +02:00
Twinaphex
b9da2bc32f (Apple HID) Handle iOHIDDeviceOpen not returning success 2015-03-31 16:55:23 +02:00
Twinaphex
d93854a924 (Apple HID) Create apple_hid_manager_init/apple_hid_manager_exit wrapper functions 2015-03-31 16:51:04 +02:00
Twinaphex
f853c39d5f (apple_hid.c) Get rid of unnecessary log message 2015-03-31 16:39:28 +02:00
Twinaphex
2b399234d3 (OSX) Should now properly show device name of pad being disconnected 2015-03-31 16:35:20 +02:00
Twinaphex
9f8f054b41 Correct apple_hid_get_product_id 2015-03-31 16:28:46 +02:00
Twinaphex
43fe95ce93 (Apple HID) Mundane style nits 2015-03-31 16:03:06 +02:00
Twinaphex
5d49f7671b (Apple HID) Cleanup add_device callback function 2015-03-31 16:00:11 +02:00
Twinaphex
56736d4eeb (Apple HID) Cleanups 2015-03-31 15:44:19 +02:00
Twinaphex
0807ac0165 (apple_hid.c) Deallocate hid_apple properly in apple_hid_free 2015-03-31 15:15:54 +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