Lines Matching refs:usage
35 struct hid_field *field, struct hid_usage *usage,
41 usage->hid == A4_WHEEL_ORIENTATION) {
43 * We do not want to have this usage mapped to anything as it's
57 struct hid_field *field, struct hid_usage *usage,
62 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) {
67 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007)
74 struct hid_usage *usage, __s32 value)
85 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) {
90 if (usage->hid == A4_WHEEL_ORIENTATION) {
99 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) {
104 if (usage->code == REL_WHEEL_HI_RES && a4->hw_wheel) {
105 input_event(input, usage->type, REL_HWHEEL, value);
106 input_event(input, usage->type, REL_HWHEEL_HI_RES, value * 120);