Lines Matching refs:usage
29 * Some USB barcode readers from cypress have usage min and usage max in
84 struct hid_field *field, struct hid_usage *usage,
92 if (usage->type == EV_REL && usage->code == REL_WHEEL)
94 if (usage->hid == 0x00090005)
101 struct hid_usage *usage, __s32 value)
106 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK))
109 if (usage->hid == 0x00090005) {
118 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) {
121 input_event(input, usage->type, REL_HWHEEL, value);