Lines Matching refs:usage
26 #define gy_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
29 struct hid_field *field, struct hid_usage *usage,
32 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
36 switch (usage->hid & HID_USAGE) {
54 struct hid_usage *usage, __s32 value)
60 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK &&
61 (usage->hid & 0xff) == 0x82) {
63 input_event(input, usage->type, usage->code, 1);
65 input_event(input, usage->type, usage->code, 0);