Age | Commit message (Collapse) | Author |
|
I've kept it around to keep the code similar to Ari64's version,
so that it would be easier to merge back his fixes. However Mupen64plus
has long reformatted the code and it kind of went different direction
anyway, so there is no point to keep all this code now.
|
|
|
|
OPENGL_DEBUG is not needed
|
|
|
|
(VITA) I think this is not going to work but if someone can test it
|
|
Use DEBUG=1 properly for debug builds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Please, don't use for loop initial declarations because it forces us …
|
|
higher C std
|
|
|
|
libretro: Split update_controller_port_device()
|
|
Split update_controller_port_device() into
update_controller_port_variable() updating the controllers from the
variables, update_controller_port_device() updating the controllers from
retro_set_controller_port_device() and controller_port_variable()
sharing getting the controller variable between the two.
Avoid setting to PSE_PAD_TYPE_NONE controllers whose variable is set to
'default' when updating them.
|
|
Fix/set controller port device
|
|
Check that 'environ_cb' is valid before using it in update_multitap()
and update_controller_port_device() as they may be called from
retro_set_controller_port_device() before 'environ_cb' is set.
|
|
Change the way the key of the controler type variables is passed to one
which doesn't crash.
|
|
Fix/set controller port device
|
|
Add the 'default' value to controller type variables and set it as the
default value and implements the retro_set_controller_port_device()
function. When the variable's value is 'default', the value set via the
function is used, otherwise the value of the variable is used.
This allows the frontends to use retro_set_controller_port_device() or
the variables, pleasing both the users and frontends prefering the
standard API and the ones prefering the custom API.
|
|
Add the 'auto' multitape vairable value.
This allows to automatically detect multitaps based on the number of
plugged controllers.
|
|
Allow to set no controller to a port.
This will be used in the next commit to allow auto detecting whether
multitaps are plugged.
|
|
Refactor the way the controller type variables are read as we were doing
8 times almost exactly the same thing.
This makes the code more readable and maintainable.
|
|
add rumble support for controler 1 and 2
|
|
comment some debugging printf.
|
|
|
|
|
|
|
|
|
|
Fix compiling with ndk r11 >
|
|
|
|
|
|
|
|
|
|
Code refactor to build the response of request 0x42 read the pad key
state
|
|
Add dualshock request/response to declare Analog pad correctly and
retrieved the vibration information.
|
|
Fixed lag with analog pad device, some code is override when have a pad
in analog mode.
|
|
Suppress segmentation fault and crazy integer value.
|
|
init default value for dfInput plugins
|
|
pass pad index in pad datas structure.
|
|
Added multitap 1 & 2 core options - adds 3-8 player support.
|
|
|
|
|
|
|
|
fix analog value
|
|
|
|
add game/core option to enabled or disabled multitap.
Test with micro machine V3 and 5 devices, 2 multitap enabled, all
device react good i can’t test the 6 7 8 select player but i can select
8 gamer. The 2 multitap works fine.
i detect a bug, when we change the game pad type to analog, the library
crash, see it next time
|