254 Commits

Author SHA1 Message Date
twinaphex
da244c177b Fix signed/unsigned mismatch warning 2017-01-10 19:49:00 +01:00
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
b44b025eab Do conditional checking (if bind is valid) outside of input_state
callback function
2017-01-10 17:00:01 +01:00
twinaphex
08a2acdc95 Update input_keys_pressed_checks 2017-01-10 16:51:35 +01:00
twinaphex
baf351e1ee CLeanup input_menu_keys_pressed_internal 2017-01-10 16:34:55 +01:00
twinaphex
98a346db2d Cleanup input_menu_keys_pressed_internal 2017-01-10 16:29:16 +01:00
twinaphex
f26fbbef83 (input_driver.c) Move settings variable 2017-01-10 16:17:34 +01:00
twinaphex
0e487e0acd Create input_keys_pressed_end 2017-01-10 16:15:20 +01:00
twinaphex
22b86226f8 Fix warnings 2017-01-10 16:14:49 +01:00
twinaphex
91e572d7ef Create input_keys_pressed_checks macro 2017-01-10 16:08:31 +01:00
twinaphex
466d5fd531 (input_driver.c) Cleanups 2017-01-10 16:03:25 +01:00
twinaphex
b94c4eec2b (input_driver.c) Cleanups 2017-01-10 16:00:20 +01:00
twinaphex
6376f2af68 Add rarch_joypad_info_t 2017-01-10 03:44:53 +01:00
twinaphex
485385be80 Cleanups 2017-01-09 02:13:16 +01:00
twinaphex
5bb741ffda (input) Cleanups/nits 2017-01-03 04:55:37 +01:00
twinaphex
92ca53db01 No more usage of settings_t inside input_overlay.c 2017-01-01 04:57:57 +01:00
twinaphex
0ec6ef75df Move early return check to input_driver.c 2017-01-01 04:17:58 +01:00
twinaphex
87e5c5a1bd input_menu_keys_pressed - remove some more boilerplate code 2016-12-23 02:28:13 +01:00
twinaphex
af5aaa9db8 Cleanup boilerplate code in input_menu_keys_pressed 2016-12-23 02:22:47 +01:00
twinaphex
15c63c3de9 (input_driver.c) Cleanups 2016-12-11 09:13:24 +01:00
twinaphex
b087a7441a Fix game focus toggle 2016-12-11 03:52:08 +01:00
twinaphex
e32d93d886 Remove functions 2016-12-07 08:14:04 +01:00
twinaphex
04a3c3f15e Remove unused function input_driver_unset_flushing_input 2016-12-07 08:11:59 +01:00
twinaphex
a12d0d082d Move input_translate_coord_viewport to video_driver.c 2016-12-07 08:07:11 +01:00
twinaphex
d04309fc05 Buildfix 2016-12-07 06:16:12 +01:00
twinaphex
31a7f64f2c Cleanups 2016-12-07 05:41:08 +01:00
twinaphex
f6dcfd21cf (MSVC) MSVC build fixes 2016-12-07 05:39:27 +01:00
twinaphex
e3620278a8 Add HAVE_MENU ifdefs for menu code 2016-12-07 03:16:34 +01:00
twinaphex
4b1c24adf9 - Move input flushing hack to input_keys_pressed functions
- Move menu binding state hack to menu_input_keys_pressed
2016-12-06 20:50:29 +01:00
twinaphex
77df0ef3ae Rebase input_key_pressed/input_menu_keys_pressed 2016-12-06 18:12:35 +01:00
Adriano Moura
6b99eeaf88 Implements a hotkey for toggling mouse grabbing, hiding and hotkey blocking. Usefull for playing tyrquake with kb/m. 2016-12-06 03:32:28 -02:00
twinaphex
b7ea2306af Remove unused input_driver_unset_hotkey_block 2016-12-05 05:40:51 +01:00
twinaphex
ecbfc7fd8a (input_driver.c) Cleanups 2016-12-05 05:34:38 +01:00
twinaphex
2ba311274e Simplify input_translate_coord_viewport 2016-12-05 05:18:36 +01:00
twinaphex
6e28aa30bb Simplifications 2016-12-04 22:23:27 +01:00
twinaphex
a762dbcdfb Simplify input_poll 2016-12-04 22:22:00 +01:00
twinaphex
bbbcc97f57 Simplify input_push_analog_dpad 2016-12-04 22:20:47 +01:00
twinaphex
6cdb823bb4 Turn input_push_analog_dpad into macro 2016-12-04 21:37:47 +01:00
twinaphex
85aa88f665 Simplify input_push_analog_dpad 2016-12-04 21:30:50 +01:00
twinaphex
c19a6dd018 Turn input_pop_analog_dpad into macro 2016-12-04 20:23:52 +01:00
twinaphex
59c317dc1d Pass pointers to input_push_analog_dpad 2016-12-04 20:20:35 +01:00
twinaphex
0fdb8881cb Pass pointer variables to input_pop_analog_dpad 2016-12-04 20:17:55 +01:00
twinaphex
1c21c001c6 Cleanups 2016-12-04 19:52:52 +01:00
twinaphex
d36e7700f7 (input_driver.c) Style nits 2016-12-03 06:14:57 +01:00
twinaphex
021559a877 Get rid of runloop.h dependencies inside input/ dir 2016-12-02 06:07:45 +01:00
twinaphex
dd5736b273 Turn check_input_driver_block_hotkey into macro 2016-12-02 05:26:37 +01:00
twinaphex
a726fc2d8e Further cleanups 2016-12-01 04:12:56 +01:00
twinaphex
c351aed001 (input_driver.c) Cleanups 2016-12-01 03:38:25 +01:00
twinaphex
5337e494c6 More small cleanups 2016-12-01 03:01:32 +01:00