153 Commits

Author SHA1 Message Date
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
twinaphex
9aafd3c723 (winraw) Cleanups - get rid of setting pointer grabbing everywhere -
clean up mouse state grabbing everywhere - would be costly in loops
2020-06-11 06:29:36 +02:00
twinaphex
fa6ca2e39c Revert "Create input_joypad_analog_button"
This reverts commit 9e7ca7cbbe03eecf3b6cf916790187f54742e0a1.
2020-06-10 05:50:51 +02:00
twinaphex
9e7ca7cbbe Create input_joypad_analog_button 2020-06-10 04:17:08 +02:00
twinaphex
a7a03984f1 (input drivers) Cleanups 2020-06-10 04:00:40 +02:00
twinaphex
7f8c13ae09 (GDI/Win32) Refactor code - handle doubleclick press on title bar
inside DInput driver
2020-03-13 02:20:31 +01:00
twinaphex
26b3ccf2e5 Don't pass joypad_info by value 2020-02-27 07:33:14 +01:00
twinaphex
0ec3a8a449 (Input) Settings cleanups 2020-02-23 06:05:23 +01:00
twinaphex
51d6b467d6 (Win32) Buildfix 2020-01-19 04:56:12 +01:00
twinaphex
65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
twinaphex
bee9984745 Update all other input drivers 2019-07-22 01:20:00 +02:00
orbea
e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
twinaphex
cba3eb3968 (Dinput) Refactor dinput_is_pressed 2019-07-21 17:53:51 +02:00
twinaphex
f4104f5c9a Regression in
9c73d3305d
- joykey needs to be uint64_t and then is later cast to uint16_t -
is apparently important for hotkeys
2019-07-21 16:22:41 +02:00
twinaphex
a200d9683c (dinput.c) Cleanups 2019-07-08 02:40:09 +02:00
twinaphex
6c2f65c585 Fix code analysis warnings 2019-07-04 21:54:51 +02:00
twinaphex
47b17e8d65 (dinput) Update 2019-07-04 14:05:20 +02:00
twinaphex
ff0ea2921f (dinput) Buildfix 2019-07-04 14:02:43 +02:00
twinaphex
cec67e412e Revert "(dinput/xinput) Simplifications"
This reverts commit 20e8dfcba5fc36befb129940d14a1d891b38f2e2.
2019-07-04 05:20:19 +02:00
twinaphex
9c73d3305d Insert input_joypad_pressed into drivers themselves 2019-06-23 18:20:48 +02:00
twinaphex
1e863b0f4d Optimal way of grabbing all button states in a bitmasked value -
should allow us to do only one function call to the RA input
driver's input state callback
2019-06-23 06:09:45 +02:00
twinaphex
d4ed0358a7 (dinput.c) Cleanups 2019-06-23 03:14:21 +02:00
twinaphex
20e8dfcba5 (dinput/xinput) Simplifications 2019-06-21 09:00:59 +02:00
twinaphex
68cbd5048c Convert input_conv_analog_id_to_bind into macro 2019-06-19 05:16:24 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
b9ff2e4de1 Fix some static code analysis warnings from MSVC 2017 2019-01-10 21:47:15 +01:00
krzys-h
0cff7eefa7 Initialize COM only once, globally 2019-01-10 16:48:02 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00