Lines Matching refs:usage
22 #define gy_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
25 struct hid_field *field, struct hid_usage *usage,
28 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
32 switch (usage->hid & HID_USAGE) {
55 struct hid_usage *usage, __s32 value)
61 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK &&
62 (usage->hid & 0xff) == 0x82) {
64 input_event(input, usage->type, usage->code, 1);
66 input_event(input, usage->type, usage->code, 0);