On Tue, 6 Jan 2015 13:37:26 +0100
Fredrik Hallenberg <[email protected]> wrote:

> ...
>     if (!(field->flags & (HID_MAIN_ITEM_RELATIVE |
>                   HID_MAIN_ITEM_BUFFERED_BYTE)) &&
>         (field->flags & HID_MAIN_ITEM_VARIABLE) &&
>         usage->usage_index < field->maxusage &&
>         value == field->value[usage->usage_index]) {
> ...

This works perfectly for me, thanks.
-- 
Christopher Head
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to