Commit Graph

74 Commits

Author SHA1 Message Date
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