Commit Graph

48 Commits

Author SHA1 Message Date
twinaphex 8bd12368ef Pass joypad_driver name to input_driver_init function and make
sure we don't need to access the settings struct from the
input driver
2017-01-10 17:59:48 +01:00
twinaphex d48141041d Pass joypad_info to input_state function callback - less
settings pointer grabbing
2017-01-10 17:40:21 +01:00
twinaphex da4d2a9f42 Remove conditionals for device JOYPAD from input_state callback functions 2017-01-10 17:05:04 +01:00
twinaphex b9945f05f1 Pass joypad_info to input_joypad_analog 2017-01-10 03:53:57 +01:00
twinaphex 6376f2af68 Add rarch_joypad_info_t 2017-01-10 03:44:53 +01:00
twinaphex ce98a4dd19 Get rid of now unused input_driver_key_pressed 2016-10-29 04:57:28 +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 5fc6519328 Prevent more potential crashes 2016-10-27 01:21:01 +02:00
twinaphex 8ce882c829 Should hopefully fix most of the remaining issues 2016-10-26 10:29:26 +02:00
twinaphex 647ffca76c Optimize input_joypad_pressed code 2016-10-23 20:37:12 +02:00
twinaphex 3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +02:00
twinaphex 7fdc38bf30 Prevent null pointer dereference 2016-09-22 21:57:55 +02:00
twinaphex e8deea65a9 Remove unused variable 2016-09-22 21:55:54 +02:00
twinaphex 4571dc33fc header include cleanups 2016-09-05 17:29:19 +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 c8d5381779 header include cleanups 2016-09-01 05:48:20 +02:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 5b6641b077 (linuxraw_input.c) Remove unused driver reference 2015-11-30 02:50:10 +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 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 03b1f36af1 Move linux_common to input/common/ 2015-11-17 06:46:32 +01:00
twinaphex 1360942283 Buildfixes 2015-11-16 02:42:10 +01:00
twinaphex 8005585853 move more code to linux_common.c 2015-11-14 22:07:11 +01:00
twinaphex 465a608a56 More cleanups 2015-11-14 09:04:01 +01:00
twinaphex d59215a678 Add linux_common.c 2015-11-14 08:50:10 +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
twinaphex 450c665619 Create meta_key_pressed 2015-07-17 03:31:51 +02:00
twinaphex 2a881d64be Name some functions the same across drivers 2015-07-12 08:51:13 +02:00
twinaphex a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
Higor Eurípedes e6ea0319c7 (linuxraw) Fix boolean return in void function 2015-06-21 19:50:58 -03:00
twinaphex 0e046c2fbb Create input_driver_keyboard_mapping_is_blocked/input_driver_keyboard_mapping_set_block 2015-06-19 03:45:23 +02:00
twinaphex 6acdd3db05 (linuxraw_input.c) Add unistd.h header 2015-06-08 11:57:07 +02:00
twinaphex 2b10519fb8 (linuxraw_input.c) Style nits 2015-06-03 21:38:27 +02:00
twinaphex 660641f328 Pass handle to input driver to joypad driver's init function 2015-06-03 18:22:54 +02:00
twinaphex bafda714a1 (Input drivers) Cleanups 2015-06-03 18:12:06 +02:00
twinaphex 3a7263020a Add grab_stdin function pointer to input driver - avoids threading
segfault at exit with linuxraw input driver to do with driver->stdin_claimed
2015-05-19 19:33:58 +02:00
twinaphex d662ac187d (linuxraw_input.c) Cleanup some function names 2015-05-19 19:26:20 +02:00
twinaphex 8c6cce3945 Rename rarch_joypad_driver_t to input_device_driver_t 2015-04-14 16:37:59 +02:00
twinaphex 30a0e99972 (Input) Implement function pointers 'set_rumble' and 'grab_mouse'
always to prevent conditional checks
2015-03-24 07:51:50 +01:00
twinaphex 5ad9f131ce Updates pt. 5 2015-03-20 22:32:09 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 80a6673004 Fix some CXX_BUILD errors 2015-03-16 16:57:27 +01:00
twinaphex ec01703098 (Input) Cleanups 2015-03-09 18:58:09 +01:00
twinaphex 76ad6cc344 Move input drivers to input/drivers 2015-01-12 06:16:52 +01:00