1
0
forked from drath/libratbag

fix indentation

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-09-01 17:39:06 +02:00
parent adc6b44242
commit 6e21d75b5c

View File

@@ -376,14 +376,14 @@ hidpp20drv_init_feature(struct ratbag_device *device, uint16_t feature)
break;
}
case HIDPP_PAGE_KBD_REPROGRAMMABLE_KEYS: {
log_debug(ratbag, "device has programmable keys/buttons\n");
drv_data->capabilities |= HIDPP_CAP_KBD_REPROGRAMMABLE_KEYS_1b00;
log_debug(ratbag, "device has programmable keys/buttons\n");
drv_data->capabilities |= HIDPP_CAP_KBD_REPROGRAMMABLE_KEYS_1b00;
/* we read the profile once to get the correct number of
* supported buttons. */
if (!hidpp20drv_read_kbd_reprogrammable_key(device))
device->num_buttons = drv_data->num_controls;
break;
break;
}
default:
log_raw(device->ratbag, "unknown feature 0x%04x\n", feature);