Commit Graph

63 Commits

Author SHA1 Message Date
twinaphex
135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
twinaphex
e74e402cdc More C89 build fixes 2015-06-30 14:37:11 +02:00
twinaphex
d61ad058b4 Some CXX_BUILD fixes 2015-06-26 12:38:33 +02:00
twinaphex
0d50840749 (joypad_connection.c) Cleanups 2015-06-25 18:25:20 +02:00
twinaphex
1b34dd4ce0 Some more CXX_BUILD fixes 2015-06-25 17:36:31 +02:00
twinaphex
0e2345227a Some CXX_BUILD fixes 2015-06-25 17:25:09 +02:00
twinaphex
35402884e5 (connect_wii.c) Cleanups 2015-06-13 01:59:26 +02:00
twinaphex
123b85dbb0 Change returntype of pad_connection_init 2015-06-13 01:40:55 +02:00
Twinaphex
d2abe61e30 (joypad_connection.c) pad_connection_has_interface - pad >= 0 would
always be true
2015-04-20 12:12:32 +02:00
twinaphex
2087a41f20 (connect) Style nits 2015-04-07 18:49:21 +02: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
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
52312b51a7 pad_connection_pad_init: improve detection 2015-04-04 16:42:38 +02:00
twinaphex
5e83eefd81 Add VID/PID detection for joypad connection 2015-04-03 23:30:51 +02:00
twinaphex
b0d740ea09 (libusb) Further fleshing out 2015-04-03 18:52:48 +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
5fd1ff826a (input) Namespace functions 2015-04-03 01:37:20 +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
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
013038d3ef (connect_ps4.c) Cleanups 2015-04-01 01:23:43 +02:00
Twinaphex
28a85d9331 (connect_ps4.c) Make analog work 2015-04-01 00:20:39 +02:00
Twinaphex
467c007864 (connect_ps4.c) PS4 pad works now - TODO: analog/rumble (potential FUTURE: touchpad and other stuff) 2015-03-31 22:28:56 +02:00
Twinaphex
7e97764882 (connect_ps4.c) Update 2015-03-31 21:42:43 +02:00
Twinaphex
a4190a9c3f (PS4/connect_ps4.c) Update 2015-03-31 21:40:22 +02:00
Twinaphex
ebd85ea02b (PS4/joypad_connection) PS4 joypad is starting to work 2015-03-31 21:18:21 +02:00
Twinaphex
047fdbd3fc (PS4/joypad_connection) Changes 2015-03-31 19:23:06 +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
cf4b43f3fa (joypad_connection) Cleanups 2015-02-15 03:59:57 +01:00
twinaphex
65f6d2253d (joypad_connection.c ) change 'used' to 'connected' 2015-02-15 03:54:38 +01:00
twinaphex
738d70d2f8 Add get_buttons callback 2015-02-15 01:57:29 +01:00
Twinaphex
da24b62de9 (Apple) Build fixes 2015-01-19 05:05:41 +01:00
twinaphex
824f00be15 (input/connect) Cleanups 2015-01-19 05:01:31 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00