Otherwise the switch would not catch the proper usages.
Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
        struct wacom_features *features = &wacom->wacom_wac.features;
        bool finger = WACOM_FINGER_FIELD(field);
        bool pen = WACOM_PEN_FIELD(field);
+       unsigned equivalent_usage = wacom_equivalent_usage(usage->hid);
 
        /*
        * Requiring Stylus Usage will ignore boot mouse
 
        wacom_hid_usage_quirk(hdev, field, usage);
 
-       switch (usage->hid) {
+       switch (equivalent_usage) {
        case HID_GD_X:
                features->x_max = field->logical_maximum;
                if (finger) {