180 Commits

Author SHA1 Message Date
twinaphex
f1cf5ceb82 (input drivers) Cut down on code duplication 2021-04-11 16:31:46 +02:00
twinaphex
ca5ce839ce Small cleanups to button input handling code - several parameters
were no longer used
2021-04-10 19:06:56 +02:00
sonninnos
de7da62acd (WINRAW+DINPUT) Mouse grab cleanup 2021-02-09 18:42:07 +02:00
sonninnos
aad12cc663 (Windows) Mouse grabbing/clipping with alt-tab 2021-02-07 20:18:04 +02:00
sonninnos
e39ade0f05 (WIN32) Cursor clipping for grabbed mouse 2021-02-02 14:15:58 +02:00
Tony Jansson
75baed785e (DINPUT+WINRAW) Option for disabling Windows hotkeys 2020-12-09 00:03:40 +02:00
Tony Jansson
793ac441d1 (DINPUT) Prevent Win-key from opening Start Menu 2020-11-10 17:34:26 +02:00
Tony Jansson
eca9c452d8 (DINPUT) Simultaneous shift sticky fix 2020-11-09 21:20:46 +02:00
Tony Jansson
178a701332 Fix dinput mouse grab crash without mouse 2020-09-05 01:40:15 +03:00
twinaphex
1c5f4e1dee Start cutting down on input_state - move all joypad driver code up to
higher-level retroarch.c
2020-09-02 15:26:03 +02:00
twinaphex
826fbf6bdf Cleanups 2020-09-02 05:09:37 +02:00
twinaphex
2fde8c21a9 Remove set_rumble function from input driver 2020-09-02 00:38:11 +02:00
twinaphex
acc0f2143f Change input_key_pressed so we no longer need to pass joypad
to the poll function callback
2020-09-01 21:43:39 +02:00
twinaphex
1d67ae3c63 Fix Android error 2020-09-01 17:41:05 +02:00
twinaphex
06ac5217ac Simplify dinput.c 2020-08-31 00:32:49 +02:00
twinaphex
ea17294ff1 Update copyright 2020-08-30 19:04:50 +02:00
twinaphex
d4d8b6934a Put keyboard_mapping_blocked into p_rarch / rarch struct
instead
2020-08-30 18:47:29 +02:00
twinaphex
035efa5136 Inline pressed_analog functions into input_state function itself 2020-08-30 16:57:04 +02:00
twinaphex
e119d3c98e Further cleanups/standardizations to analog_pressed 2020-08-30 16:38:53 +02:00
twinaphex
97319d4f98 Standardize pressed_analog functions 2020-08-30 16:19:11 +02:00
twinaphex
262e68be3b Standardize x_pressed_analog 2020-08-30 15:52:58 +02:00
twinaphex
1a567dfbc9 Cleanup dinput_pressed_analog 2020-08-30 15:43:12 +02:00
twinaphex
5f08605680 Refactor joypad drivers 2020-08-30 05:29:32 +02:00
twinaphex
84a312535e Cleanup set_rumble functions 2020-08-29 22:22:26 +02:00
twinaphex
b3744c3126 Put input_jpyad_init_driver last in 'input' callback function 2020-08-29 20:46:42 +02:00
twinaphex
8999d6e4a6 (DInput) Set a userdata struct for the window message loop properly -
get rid of input_get_data - we no longer need it
2020-08-29 03:41:33 +02:00
twinaphex
15cb55e0bb (DInput) Style nits 2020-08-28 02:27:55 +02:00
twinaphex
2ca12718f1 (DInput) Optimize array loop iterations 2020-08-19 04:04:44 +02:00
twinaphex
659d50c916 Struct reorderings 2020-08-14 18:31:28 +02:00
twinaphex
b171f35836 Move these globals out of dinput.c and into dinput_joypad_inl.h 2020-07-31 19:08:46 +02:00
twinaphex
d97e590aaf Reimplement multi button state functions 2020-07-19 03:18:12 +02:00
twinaphex
3297e464c4 (Input) Optimize input bitmask codepath 2020-07-14 01:39:07 +02:00
twinaphex
aa4f84b037 (Dinput) get rid of memsets 2020-06-29 02:37:06 +02:00
twinaphex
689ac432d6 MOve input_joypad_analog call to inside retroarch.c instead of the
input driver itself, and make function static
2020-06-23 18:31:40 +02:00
twinaphex
35c55c4b50 Potential fix for #10884 2020-06-22 20:34:40 +02:00
twinaphex
bba60163f7 (Dinput) Fix RARCH_DEVICE_MOUSE_SCREEN 2020-06-13 17:22:34 +02:00
twinaphex
c7cd327b5b Rearrange input state input drivers for ANALOG - do joypad
processing first, then keyboard second
2020-06-13 05:25:10 +02:00
twinaphex
4a91b11806 Further input driver standardization 2020-06-12 18:28:07 +02:00
twinaphex
c1d63ca7c1 Revert "Grab pointer to video_driver_window_get_ptr once during init"
This reverts commit 784904071a6cb971006924c89b17464615dfd19b.
2020-06-12 06:36:27 +02:00
twinaphex
5a064ef4ca (dinput) Cleanups - use button_is_pressed 2020-06-12 06:26:03 +02:00
twinaphex
784904071a Grab pointer to video_driver_window_get_ptr once during init
function, then use that throughout this driver's functions
2020-06-12 06:07:20 +02:00
twinaphex
dee0c5dbca CTR buildfix + cleanups 2020-06-11 19:33:27 +02:00
twinaphex
f12ac35438 Cleanups 2020-06-11 19:03:50 +02:00
twinaphex
3eaf7d5e66 Further cleanups and corrections 2020-06-11 17:18:28 +02:00
twinaphex
6ddbf911e3 (SDL input) Build fix - and further cleanups in other
drivers
2020-06-11 17:12:08 +02:00
twinaphex
cf3cdbbcc9 Cleanups 2020-06-11 16:49:27 +02:00
twinaphex
39279292ef (dinput) Cut down on code duplication 2020-06-11 16:42:33 +02:00
twinaphex
4fb59f5319 (winraw_input) More fixes 2020-06-11 16:37:50 +02:00
twinaphex
479a3ab9a3 (Dinput) Optimizations - create dinput_is_pressed 2020-06-11 08:54:17 +02:00
twinaphex
02132985af Cleanups 2020-06-11 06:34:59 +02:00