diff --git a/gtk/src/gtk_s9x.cpp b/gtk/src/gtk_s9x.cpp index 9c67f0cf..5caa3a93 100644 --- a/gtk/src/gtk_s9x.cpp +++ b/gtk/src/gtk_s9x.cpp @@ -98,8 +98,11 @@ int main (int argc, char *argv[]) case CTL_SUPERSCOPE: device_type = "superscope"; break; - default: + case CTL_JOYPAD: device_type = "joypad"; + break; + default: + device_type = "nothingpluggedin"; } device_type += std::to_string (port + 1);