mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an issue where GuiDetectDevice wouldn't detect analog controller inputs.
This commit is contained in:
parent
0bde8dc79d
commit
581eb6a055
|
@ -118,7 +118,8 @@ bool GuiDetectDevice::input(InputConfig* config, Input input)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (input.type == TYPE_BUTTON || input.type == TYPE_KEY ||input.type == TYPE_CEC_BUTTON) {
|
||||
if (input.type == TYPE_BUTTON || input.type == TYPE_AXIS || input.type == TYPE_KEY ||
|
||||
input.type == TYPE_CEC_BUTTON) {
|
||||
if (input.value && mHoldingConfig == nullptr) {
|
||||
// Started holding.
|
||||
mHoldingConfig = config;
|
||||
|
|
Loading…
Reference in a new issue