111 Commits

Author SHA1 Message Date
Twinaphex
17dc79a002 Buildfixes/silence unused variable warnings 2016-11-30 04:32:59 +01:00
twinaphex
ce98a4dd19 Get rid of now unused input_driver_key_pressed 2016-10-29 04:57:28 +02:00
Twinaphex
7e5ee4f86c Prevent uninitialied variable 2016-10-27 21:47:15 +02:00
twinaphex
d246d320c7 Get rid of messy 'all_users_control_menu' hack - will be dealt
with better once menu_input branch has been merged
2016-10-27 07:00:13 +02:00
Twinaphex
90fbc09f82 Fix remaining crash on OSX 2016-10-26 10:34:24 +02:00
twinaphex
8ce882c829 Should hopefully fix most of the remaining issues 2016-10-26 10:29:26 +02:00
twinaphex
57457c2d70 Optimize apple_input_is_pressed 2016-10-23 20:42:09 +02:00
twinaphex
647ffca76c Optimize input_joypad_pressed code 2016-10-23 20:37:12 +02:00
Twinaphex
183dc914c4 (Cocoa) Add stub scrollWheel callback 2016-10-05 02:00:11 +02:00
twinaphex
012e069f86 Get rid of general.h includes 2016-09-11 13:21:56 +02:00
twinaphex
acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
Brad Parker
a17679a0c5 add input option to allow any user to control the menu 2016-09-03 19:01:29 -04:00
Twinaphex
33356f2df6 (OSX) Buildfix 2016-02-26 13:40:29 +01:00
Twinaphex
794bcc53c3 (iOS) Buildfix 2016-01-15 23:15:49 +01:00
twinaphex
e4533fb7ec (OSX/iOS) Cleanup 2016-01-15 22:33:25 +01:00
Twinaphex
8c8a3085a5 (OSX) Buildfix 2016-01-15 22:22:37 +01:00
twinaphex
8323d06d3d (Cocoa) No more dependencies on get_chosen_screen or
get_backing_scale_factor
2016-01-15 22:20:46 +01:00
twinaphex
347a18cb30 Update input headers 2016-01-10 04:33:01 +01:00
twinaphex
5e1b2b3bfa Move driver->input_data to input_driver.c 2015-11-29 18:18:25 +01:00
twinaphex
f1fe78eb1a (cocoa_input.c) Include header 2015-11-29 15:52:37 +01:00
twinaphex
99cc4c59c3 (Apple) Buildfix 2015-11-29 15:46:01 +01:00
twinaphex
bc748951c6 Start no longer having dependencies on apple input data for
keyboard_event_apple.c
2015-11-29 15:44:21 +01:00
Twinaphex
3001729545 Revert "Go through input_driver_get_data_ptr whenever we need input data"
This reverts commit 52c9a2ec438347ee287cab748995c84d08f23b5a.
2015-11-28 18:58:33 +01:00
twinaphex
52c9a2ec43 Go through input_driver_get_data_ptr whenever we need input data
state
2015-11-28 18:51:12 +01:00
twinaphex
c23846c5dc Merged input_joypad.c and input_joypad_driver.c 2015-11-28 16:22:49 +01:00
twinaphex
a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
Twinaphex
e27d533fcd (iOS/Cocoa) Try this - prefer MFi analog value over BTStack one 2015-11-18 05:37:41 +01:00
twinaphex
30d0e58bb9 (Apple) Move keymap to input_keymaps.c 2015-11-17 06:25:37 +01:00
twinaphex
08bb85e509 (OSX) apple->buttons refactored away 2015-11-16 06:46:29 +01:00
twinaphex
2fa91ba26c (IOHIDManager) Make axes code independent from CocoaTouch 2015-11-16 06:32:25 +01:00
twinaphex
3e81b4deef Get rid of a bunch of HAVE_MFI ifdefs 2015-11-16 06:23:07 +01:00
twinaphex
f906814abe mfi_buttons should be only used now from within input/drivers_joypad/mfi_joypad.m 2015-11-16 04:32:04 +01:00
twinaphex
5bdc91c814 Rename mfi_joypad to sec_joypad 2015-11-16 03:57:52 +01:00
Twinaphex
57e8cfe1f9 Totally reimplemented MFi support 2015-11-16 02:39:38 +01:00
Twinaphex
f2f1db12cf Turn into C for now 2015-11-16 01:14:43 +01:00
twinaphex
79886a2768 Convert cocoa_input.c to Obj-C 2015-11-16 01:05:49 +01:00
twinaphex
57771fcf3e Rearrange some code 2015-11-14 22:13:47 +01:00
Arche-san
3b558775dc Merge branch 'master' into osx-xbox360-gamepad-right-stick-support
Conflicts:
	input/drivers/cocoa_input.h
2015-11-14 18:08:53 +01:00
Arche-san
c47254e64b os x : add right stick support for xbox 360 gamepad (and others hid gamepad with 6 axes instead of 4) 2015-11-14 18:04:07 +01:00
Twinaphex
1b05556b06 remove some unused variables 2015-11-13 21:44:08 +01:00
twinaphex
e0b5925c24 Remove now unused icade code 2015-11-13 21:42:58 +01:00
Twinaphex
8ebad97fbd Revert "Add iCade code to cocoa_input_is_pressed"
This reverts commit 536754d6f2a25c529449b2304fbb6d5cde8b164d.
2015-11-13 02:46:01 +01:00
twinaphex
536754d6f2 Add iCade code to cocoa_input_is_pressed 2015-11-13 02:42:46 +01:00
Twinaphex
924642a744 Revert "Revert "Refactor small keyboard/icade code a bit""
This reverts commit fde9676ac315cec16aa7fb58c79526b07fa8b5dd.
2015-11-13 01:50:34 +01:00
Twinaphex
fde9676ac3 Revert "Refactor small keyboard/icade code a bit"
This reverts commit 340c15c517e217cc31d74747b9a2eca5996609a1.
2015-11-13 01:39:19 +01:00
twinaphex
340c15c517 Refactor small keyboard/icade code a bit 2015-11-12 17:54:52 +01:00
twinaphex
08a343fbd0 More iOS ifdefs 2015-11-12 06:15:28 +01:00
twinaphex
22f85b11df Don't need this anymore 2015-11-07 20:59:12 +01:00
twinaphex
6ac88eed54 Cleanups 2015-10-23 08:34:15 +02:00
twinaphex
1a20e19c51 We will now be able to know from which input device type the input
event comes from - i.e. keyboard or gamepad
2015-10-22 19:17:47 +02:00