diff options
-rw-r--r-- | src/setup/joystick.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/setup/joystick.c b/src/setup/joystick.c index f0c65780..725cc287 100644 --- a/src/setup/joystick.c +++ b/src/setup/joystick.c @@ -239,6 +239,7 @@ static const known_joystick_t *GetJoystickType(int index) printf("Unknown joystick '%s' with %i axes, %i buttons, %i hats\n", name, axes, buttons, hats); + printf("Please consider sending in details about your gamepad!\n"); return NULL; } @@ -270,7 +271,7 @@ static void LoadConfigurationSet(const joystick_config_t *configs) } // For buttons, set the virtual button mapping as well. - if (M_StringStartsWith(config->name, "joyb_")) + if (M_StringStartsWith(config->name, "joyb_") && config->value >= 0) { joystick_physical_buttons[button] = config->value; M_snprintf(buf, sizeof(buf), "%i", button); |