twinaphex
61ee2274e6
Move more code over to input_driver.c - BSV code in particular but
...
also input state function callbacks - retroarch.c code size reduced
to 874Kb
2021-10-06 05:57:39 +02:00
Nathan Strong
5da1cd08ff
Unify the HID driver architecture
...
== DETAILS
When I first implemented the Wii U HID architecture, I ended up
having to design my own implementation because, at the time, I did
not have a way to read the HID device string to allow the existing
code to successfully detect the gamepad.
After spending some time experimenting, I've figured out how to
do this. And that means I can better align the HID driver with other
platforms.
change summary:
- create a single state structure for all three sub-types of wiiu pads
(kpad, wpad, and hid)
- eliminate confusing duplicate pad lists
- eliminate confusing duplicate HID pad drivers (ds3, gamecube
adapter, etc)
- ensure the ds3 driver still works
2021-10-05 09:23:08 -07:00
Nathan Strong
9edb449471
wip commit
2021-10-05 09:10:41 -07:00
twinaphex
fde3406d1b
Get rid of input_event_get_osk_ptr/get_osk_grid
2021-10-01 07:37:33 +02:00
Autechre
8807e2957e
Input refactors pt3 ( #13053 )
...
* Move more internal state over to input_driver.c and menu_driver.c -
retroarch.c now down to 893kb
- Remove now unused p_rarch pointers in functions
2021-10-01 07:18:30 +02:00
twinaphex
e9a4e811ac
Move more code and variables from rarch_state out to input_driver
...
and menu_driver
2021-10-01 00:41:50 +02:00
twinaphex
12c81bc073
Replace input_state_get_ptr call
2021-09-30 21:31:37 +02:00
twinaphex
dbe414e1e1
move input_poll_overlay to input_driver.c
2021-09-30 21:29:35 +02:00
twinaphex
ddceb51f89
Get rid of some needless getters/setters
2021-09-30 21:10:12 +02:00
twinaphex
ef875f6102
Create input_state_get_ptr - move to input_driver.c -
...
also moved over the functions that had a dependence on this
state - retroarch.c reduced to 979kb now
2021-09-30 20:54:56 +02:00
Ben Hamilton (Ben Gertzfield)
1970786932
New feature: Use gamepad combo to quit Retroarch ( #13017 )
...
* Refactor menu toggle combo button logic to allow quit combo button
* Quit gamepad combo
* Fixes from @jdgleaver
2021-09-24 18:30:46 +02:00
twinaphex
d2af43d457
Cleanups
2021-09-20 21:08:53 +02:00
twinaphex
eb895f9947
move more code out of retroarch.c
2021-09-18 21:14:15 +02:00
twinaphex
90775e7306
Silence warnings/errors
2021-09-13 20:30:22 +02:00
twinaphex
3c69a941da
Move code over to input_driver.c
2021-09-13 18:33:53 +02:00
twinaphex
ad4b51b903
Move cde from retroarch.c to input_driver.c
2021-09-12 19:27:12 +02:00
twinaphex
b5138b6122
Move input_config_get_bind_string to input_driver.c
2021-09-12 17:41:00 +02:00
twinaphex
6c79cebc6e
Move input_overlay_auto_rotate_ out of retroarch.c and into
...
input_driver.c
2021-09-09 14:24:42 +02:00
twinaphex
81e7dab159
Move code out of retroarch.c and into input_driver.c
2021-09-09 14:11:46 +02:00
Michael Burgardt
303d17e2e6
Rebase 'Add generic rumble gain to input settings' by davidgfnet
2021-09-08 19:52:32 +02:00
twinaphex
c9e587a5a7
Move more input code over to input_driver.c from retroarch.c
2021-09-07 14:55:37 +02:00
twinaphex
276b4fd72c
Move more code over from retroarch.c to input_driver.c
2021-09-07 13:08:31 +02:00
twinaphex
67defbcf26
Transfer code over from retroarch.c to input_driver.c
2021-09-07 12:42:03 +02:00
twinaphex
3a78b46862
Move code to input_driver.c
2021-09-07 10:17:06 +02:00
twinaphex
722166cb15
Move functions from retroarch.c to input_driver.c
2021-09-07 07:11:42 +02:00
twinaphex
7c665702a8
Move input_driver_toggle_button_combo to input_driver.c
2021-09-07 06:50:18 +02:00
twinaphex
0194ce91bf
Get rid of getters/setters in big driver files from now
2021-08-26 13:27:44 +02:00
Mark W. Kidd
5f834a8cb3
input_driver refactor
2021-08-19 20:02:39 -04:00
Autechre
ae327a769b
Revert "input refactoring: create input_driver.c"
2021-08-18 18:45:53 +02:00
Mark W. Kidd
5a8920c862
input_driver refactor
2021-08-17 08:56:29 -04:00
twinaphex
b9c33713b4
Merge input_driver.c with retroarch.c
2019-06-17 18:59:56 +02:00
twinaphex
ce51cf6b33
Simplify BSV code
2019-06-17 02:23:06 +02:00
twinaphex
db87e050d5
Merge movie.c into retroarch.c
2019-06-16 16:52:48 +02:00
twinaphex
8bb74d0776
Added new hotkey AI Service and added requested
...
variables for OCR
2019-06-06 03:41:40 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb064a533534dbc158a2085a887658aa.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
b41384a0d0
(input_driver) Cleanups
2019-04-22 00:05:12 +02:00
twinaphex
b0b1b0b782
(input_driver) Cleanup
2019-04-21 16:57:35 +02:00
twinaphex
8165b43170
(input_driver) Further simplifications
2019-04-21 16:30:12 +02:00
twinaphex
7ae0c6b2c1
(input_driver.c) Simplifications
2019-04-21 16:19:48 +02:00
twinaphex
8312d67a11
(input_driver.c) Further simplifications
2019-04-21 16:13:11 +02:00
twinaphex
b6fd875230
(input_driver.c) Simplifications
2019-04-21 15:48:56 +02:00
twinaphex
f6fec009d2
input_config_get_prefix becomes static function
2019-04-21 07:56:20 +02:00
twinaphex
a79eec8698
(input_driver.c) Cleanup
2019-04-21 07:46:52 +02:00
twinaphex
af2805406d
Move more functionality to input_driver.c ; make more functions static
2019-04-21 07:30:14 +02:00
twinaphex
270e95bc97
Turn a lot of input_config_parse functions static
2019-04-21 06:42:13 +02:00
Brad Parker
e0b59f13e2
no analog/sensitivity correction for analog buttons
2019-04-09 23:17:11 -04:00
Brad Parker
8639018976
use proper scaled radial deadzone calculation
2019-03-29 14:07:35 -04:00
Brad Parker
e7891b8c1a
add analog deadzone and sensitivity options, rename axis threshold
2019-03-25 23:22:19 -04:00
Brad Parker
19ced73596
add hotkey to toggle netplay hosting
2019-03-09 17:48:03 -05:00