As title says, this PR allows analog button/stick input even if the type is RETRO_DEVICE_JOYPAD.
This is to allow support for analog stick input in Vice. Vice requires the device type to be RETRO_DEVICE_JOYPAD, but still queries for analog stick values, so don't throw these values away.
Description
As title says, this PR allows analog button/stick input even if the type is
RETRO_DEVICE_JOYPAD
.This is to allow support for analog stick input in Vice. Vice requires the device type to be
RETRO_DEVICE_JOYPAD
, but still queries for analog stick values, so don't throw these values away.Even though Vice requires the type to be
RETRO_DEVICE_JOYPAD
, you can see it checking analog stick values here: https://github.com/libretro/vice-libretro/blob/master/libretro/libretro-mapper.c#L1046-L1049How has this been tested?
Will test when vice cores have been updated.