Lines Matching refs:usage
31 * Some USB barcode readers from cypress have usage min and usage max in
56 struct hid_field *field, struct hid_usage *usage,
64 if (usage->type == EV_REL && usage->code == REL_WHEEL)
66 if (usage->hid == 0x00090005)
73 struct hid_usage *usage, __s32 value)
78 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK))
81 if (usage->hid == 0x00090005) {
90 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) {
93 input_event(input, usage->type, REL_HWHEEL, value);