From b7d529cce50163aa24447bb58ab366772b1f8afc Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 1 Apr 2017 17:35:50 +0200 Subject: [PATCH] Fixed config for the keyboard --- config/ConfigParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ConfigParser.cpp b/config/ConfigParser.cpp index 5891640..0f1309a 100644 --- a/config/ConfigParser.cpp +++ b/config/ConfigParser.cpp @@ -128,11 +128,11 @@ void ConfigParser::parseSingleLine(std::string line){ u16 hid_slot = getSlot(); if(HID_DEBUG) log_printf("leftpart = \"%s\" \n",cur_values[0].c_str()); - if(HID_DEBUG) log_printf("rightpart = _%s_ \n",cur_values[1].c_str()); + if(HID_DEBUG) log_printf("rightpart = \"%s\" \n",cur_values[1].c_str()); int keyslot = -1; if(HID_DEBUG) log_printf("Checking single value\n"); - if(getType() == PARSE_GAMEPAD /*|| getType() == PARSE_KEYBOARD*/){ + if(getType() == PARSE_GAMEPAD || getType() == PARSE_KEYBOARD){ keyslot = ConfigValues::getKeySlotGamePad(cur_values[0]); }else if(getType() == PARSE_MOUSE){ keyslot = ConfigValues::getKeySlotMouse(cur_values[0]);