Lines Matching refs:usage
38 /* The translation code uses HID usage instead of input layer
102 * int usage = usage_for_key (trans->from);
103 * max_usage = usage > max_usage ? usage : max_usage;
165 struct hid_usage *usage, __s32 value)
170 !usage->type)
177 trans = icade_find_translation(usage->hid & HID_USAGE);
182 input_event(field->hidinput->input, usage->type,
189 struct hid_field *field, struct hid_usage *usage,
194 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_KEYBOARD) {
195 trans = icade_find_translation(usage->hid & HID_USAGE);
200 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to);
212 struct hid_field *field, struct hid_usage *usage,
215 if (usage->type == EV_KEY)
216 set_bit(usage->type, hi->input->evbit);