Save the selected keyboard type and remove an excess logging line in keyboard.c.
This commit is contained in:
@@ -601,6 +601,5 @@ keyboard_get_ndev(void)
|
||||
void
|
||||
keyboard_add_device(void)
|
||||
{
|
||||
pclog("keyboard_type = %i (%s)\n", keyboard_type, keyboard_get_internal_name(keyboard_type));
|
||||
device_add(keyboard_devices[keyboard_type].device);
|
||||
}
|
||||
|
||||
@@ -91,7 +91,9 @@ SettingsInput::~SettingsInput()
|
||||
void
|
||||
SettingsInput::save()
|
||||
{
|
||||
keyboard_type = ui->comboBoxKeyboard->currentData().toInt();
|
||||
mouse_type = ui->comboBoxMouse->currentData().toInt();
|
||||
|
||||
joystick_type = ui->comboBoxJoystick->currentData().toInt();
|
||||
|
||||
// Copy accelerators from working set to global set
|
||||
|
||||
Reference in New Issue
Block a user