diff --git a/src/device.c b/src/device.c index e92b001..39724ca 100644 --- a/src/device.c +++ b/src/device.c @@ -87,7 +87,7 @@ static uint8_t resolve_device_capabilities(int fd) * false positives which need to be explcitly excluded by the user if they use * the wildcard id. */ - has_brightness_key = mask[KEY_BRIGHTNESSUP/32] & (1 << (KEY_BRIGHTNESSUP % 32)) + has_brightness_key = mask[KEY_BRIGHTNESSUP/32] & (1 << (KEY_BRIGHTNESSUP % 32)); if (((mask[0] & keyboard_mask) == keyboard_mask) || has_brightness_key) capabilities |= CAP_KEYBOARD;