Autechre
514534f99b
Move more state to runloop_state ( #13124 )
...
* Move more state to runloop state
* remove unused variable
* Cleanup
* Move more state to runloop_state
* Remove unused variable
* Cleanups
* move input_remapping functions over to input_driver.c
* Some buildfixes
2021-10-18 15:23:22 +02:00
twinaphex
9184d0e114
Move hid_data to input_st
2021-10-15 16:31:31 +02:00
twinaphex
f070da6dfc
Move code to menu_driver.c and input_driver.c
2021-10-13 15:40:01 +02:00
twinaphex
3d710db798
input_state_wrapper symbol name was causing collisions with certain
...
cores on statically linked platforms
2021-10-08 12:50:45 +02:00
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
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
49fbed2423
Get rid of input_mouse_grabbed - move retroarch types to
...
retroarch_types.h
2021-09-30 23:22:50 +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
3c69a941da
Move code over to input_driver.c
2021-09-13 18:33:53 +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
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
220dfe4dbf
Move code in retroarch.c over to configuration file
2021-08-30 16:52:05 +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
Autechre
a66b1b3e48
Merge pull request #12703 from markwkidd/input-drivers
...
input refactoring: create input_driver.c
2021-08-18 18:17:43 +02:00
Mark W. Kidd
5a8920c862
input_driver refactor
2021-08-17 08:56:29 -04:00
Nathan Strong
feb4f266fa
WIIU: Fix L3/R3 buttons
...
== DETAILS
After a bisect, the culprit was changing the gamepad interface from
returing a single button (bool) to multiple (int16).
The issue is that the Wii U gamepad (and presumably the Pro controller too)
have more than 16 buttons, which means some buttons get lost. Notably, L3 (18)
and R3 (17).
The solution: use int32 instead of int16.
I did a test build and confirmed that this change restores L3/R3 functionality
with the gamepad. Don't have a pro controller to test, but it should work too.
2021-08-07 23:23:33 -07:00
sonninnos
bd3533f05d
Friendly names for mice where available
2021-08-06 00:21:17 +03:00
Mark W. Kidd
e3d2a9b614
Merge branch 'master' of http://github.com/markwkidd/retroarch into menu-input
2021-07-23 10:27:49 -04:00
Mark W. Kidd
8038d899d6
add documentation to input_driver.h
2021-07-19 12:05:28 -04:00
Mark W. Kidd
64672b4b63
consolidate menu_input.h declarations
2021-07-15 14:19:38 -04:00
Autechre
7b55b03c96
Merge pull request #12617 from markwkidd/input-cleanup
...
consolidate 'input define' enums to input_defines.h
2021-07-09 15:30:02 +02:00
Mark W. Kidd
b17dd28ff2
consolidate and comment input_remapping.h
2021-07-06 16:13:43 -04:00
Mark W. Kidd
523d7d6ee8
consolidate input defines
2021-07-05 15:18:17 -04:00
Autechre
e1270742b9
Merge pull request #12582 from markwkidd/input-drivers
...
add comments in order to document input_driver.h
2021-07-02 00:21:09 +02:00
Mark W. Kidd
fb2b3695d9
remove unused enum input_device_type
2021-06-30 19:05:56 -04:00
Mark W. Kidd
b0831bf1a0
comment documentation for input_driver.h
2021-06-29 20:12:44 -04:00
twinaphex
cfe9d60f51
Get rid of button_is_pressed
2021-04-15 06:55:35 +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
jdgleaver
b9691597d1
Add 'L2 + R2' menu toggle gamepad combo ( #11935 )
2021-01-24 16:33:13 +01:00
AKuHAK
3c0633839f
(PS2) added Multitap support (up to 8 players) ( #11928 )
...
* (PS2) added Multitap support (up to 8 players)
* (PS2) revert some identation changes
* (PS2) fix for non-analog controllers
* fix for not recognized digital and other non-standart controllers
* fixed ps2_joypad_destroy
2021-01-24 00:04:04 +01:00
twinaphex
b1af12efc9
Add more PSL1GHT ifdefs
2020-12-27 18:56:00 +01:00
twinaphex
870707dbe8
Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead
2020-12-19 15:32:26 +01:00
Tony Jansson
278ddc64ed
Add hold mode for turbo fire 'Single Button'
2020-11-13 15:44:32 +02:00
jdgleaver
2dc837850f
OpenDingux: Add 'sdl_dingux' input/joypad drivers and use by default
2020-10-08 13:26:45 +01:00
twinaphex
236622ffa6
(Joypad driver) Init function - return void pointer
2020-09-22 02:30:47 +02:00
valadaa48
9ef2df242b
ODROIDGO2 DEFAULT_MAX_PADS 1
2020-09-14 00:17:26 -04:00