Commit Graph

707 Commits

Author SHA1 Message Date
twinaphex
88dbe4ee63 (Apple) Put safeguards around input_state/button_pressed functions 2014-10-07 04:12:41 +02:00
Twinaphex
dbbfa700cb (Apple) Take out ownership of apple_input driver 2014-10-06 03:35:56 +02:00
Twinaphex
f894f7ad0d (Apple) Get rid of apple_input_get_icade_buttons 2014-10-06 02:06:10 +02:00
Twinaphex
7f0700bc5b (Apple) Use BIT32_ * macros throughout apple_input.c to prevent typos 2014-10-06 01:57:59 +02:00
Twinaphex
fdd616abcb (joypad_connection.c) Refactor pt. 2 2014-10-06 01:49:00 +02:00
Twinaphex
29f640fe5d (joypad_connection.c) refactor pt. 1 2014-10-06 00:37:11 +02:00
Twinaphex
317c098897 Take out input_init_keyboard from apple_input_find_any_key (to be
slated for removal later entirely)
2014-10-06 00:25:33 +02:00
Twinaphex
a25a1fc66a (Apple HID) Cleanup 2014-10-05 20:55:59 +02:00
Twinaphex
288847fa49 Make apple_input_get_icade_buttons into static function 2014-10-05 20:45:38 +02:00
Twinaphex
242686133a (Apple) Rename keys variable to key_state 2014-10-05 20:42:17 +02:00
Twinaphex
bf7e058068 (apple_input.c) Refactor away apple_key_pressed 2014-10-05 20:40:34 +02:00
twinaphex
9a3e5073e6 (PS3) Make ps3_input_get_joypad_driver more robust 2014-10-05 18:30:23 +02:00
twinaphex
6862c70328 (PS3) Build fix + implement rumble function callback in ps3 joypad driver 2014-10-05 18:29:22 +02:00
twinaphex
06f84b6f25 (Apple HID) Cleanups 2014-10-05 18:25:32 +02:00
twinaphex
b7f18050f2 (PSP/XDK) No dependencies on upper-layer input driver pointer struct
in joypad drivers
2014-10-05 18:21:17 +02:00
twinaphex
5ffba915c4 (PS3_ ps3_input_joypad.c - more cleanups 2014-10-05 18:19:36 +02:00
twinaphex
e5877e887b (PS3) Cleanup ps3_mouse_device_state 2014-10-05 18:14:40 +02:00
twinaphex
f6d04ff01e (Android) Input driver cleanups 2014-10-05 18:08:22 +02:00
twinaphex
cc4068d936 (GX) Move joypad code over to gx_input_joypad.c - TODO: try to
separate libsickaxis code from gx_input_joypad.c driver
2014-10-05 18:00:43 +02:00
twinaphex
2742849d6c (XDK) Move joypad code over to xdk_xinput_input_joypad.c 2014-10-05 17:39:54 +02:00
twinaphex
8af1734043 (PSP) Move joypad code over to psp_input_joypad.c 2014-10-05 17:28:57 +02:00
twinaphex
544f1ba41e Move most joystick code over to ps3_input_joypad.c 2014-10-05 17:19:25 +02:00
twinaphex
5fa4723a22 Comment out ununused inline functions for now 2014-10-05 17:02:30 +02:00
twinaphex
3c170fe079 android_input_joypad.c - cleanups 2014-10-05 16:51:58 +02:00
twinaphex
1d7dea392d Use BIT_CLEAR/BIT_SET for android_input.c 2014-10-05 16:05:16 +02:00
twinaphex
ea0d572ef1 Create new macros BIT_SET/BIT_CLEAR/BIT_GET based on input_common.h helpers 2014-10-05 15:58:06 +02:00
twinaphex
21d9185e96 (connect_ps3.c) Optimize 2014-10-05 03:48:55 +02:00
twinaphex
3a0327f67c (iOS) Update apple_joypad_ios.c same way 2014-10-05 03:33:26 +02:00
Twinaphex
aa5ae7fe85 (iOS) Build fix 2014-10-05 03:31:58 +02:00
Twinaphex
df0fbb7cf3 (OSX) More optimal polling of buttons/axis from pad_connection 2014-10-05 03:28:43 +02:00
Twinaphex
d1e26a6911 apple_joypad_hid - cleanup apple_joypad_button somewhat 2014-10-05 03:12:32 +02:00
twinaphex
2df2346301 Move input_keys_pressed from input_common.c to runloop.c 2014-10-05 02:45:38 +02:00
Twinaphex
a8ef8ff7e4 Merge pull request #1091 from mprobinson/joypad-driver
Joypad driver
2014-10-04 23:42:43 +02:00
Mike Robinson
02185efe10 Add support for bind autoconfiguration 2014-10-04 22:27:02 +01:00
Mike Robinson
f3a0e58bd9 Add HAVE_PARPORT build option 2014-10-04 22:04:38 +01:00
twinaphex
d4a14c4cb9 Move joypad_connection code to input/connect 2014-10-04 23:02:48 +02:00
Twinaphex
907b83065b (pad_connection) Add pad_connection_init 2014-10-04 22:32:43 +02:00
Twinaphex
7b5407379c (iOS/OSX) Nit 2014-10-04 22:32:43 +02:00
Twinaphex
8c269f119d Set a function pointer inside each pad_connection device for
send_control
2014-10-04 22:05:38 +02:00
Twinaphex
c90c2c5829 (Apple) More Wiimote integration 2014-10-04 21:46:18 +02:00
twinaphex
59b3f96e5f Integrate wiimote.c into apple_joypad_wii.c 2014-10-04 21:40:59 +02:00
Twinaphex
6464b98191 Get rid of some apple_input.h header includes 2014-10-04 21:13:08 +02:00
twinaphex
4565b824a9 Change apple_pad_* implementations into pad_connection_* 2014-10-04 21:11:20 +02:00
Twinaphex
9e26dec5fa (iOS/OSX) Build fixes 2014-10-04 21:04:40 +02:00
twinaphex
5af2d315c4 Divorce pad_connection pad implementations from any Apple input-specific
implementations
2014-10-04 20:53:58 +02:00
Mike Robinson
bf5cbfacee Fix autodetection of non-connected status pins 2014-10-04 19:00:09 +01:00
Mike Robinson
aab4f3032a Add reporting of autodetected non-connected pins 2014-10-04 18:59:31 +01:00
twinaphex
311ab7072b Update apple_joypad_ps3.c and apple_joypad_ps4.c as well 2014-10-04 19:25:43 +02:00
Twinaphex
1fe04654ce (Apple) Build fixes 2014-10-04 19:14:04 +02:00
twinaphex
640fa534cd Move common code to joypad_connection.c - will still need
iOS/OSX build fixes
2014-10-04 19:07:59 +02:00