aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/input
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-11-30 15:10:41 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2021-01-07 23:18:41 +0000
commit5af73ad51b8c2e640608af0b7a1982be5c204b96 (patch)
tree2439534a1f9746b72f715a65f70a707c285d2442 /sys/dev/usb/input
parent95e1f0d6847060f9c7d90b6b7655b64029929efd (diff)
Diffstat (limited to 'sys/dev/usb/input')
-rw-r--r--sys/dev/usb/input/uep.c4
-rw-r--r--sys/dev/usb/input/wmt.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/input/uep.c b/sys/dev/usb/input/uep.c
index 7a65f2875448..5b96a31b1dee 100644
--- a/sys/dev/usb/input/uep.c
+++ b/sys/dev/usb/input/uep.c
@@ -381,8 +381,8 @@ uep_attach(device_t dev)
evdev_support_event(sc->evdev, EV_ABS);
evdev_support_event(sc->evdev, EV_KEY);
evdev_support_key(sc->evdev, BTN_TOUCH);
- evdev_support_abs(sc->evdev, ABS_X, 0, 0, UEP_MAX_X, 0, 0, 0);
- evdev_support_abs(sc->evdev, ABS_Y, 0, 0, UEP_MAX_Y, 0, 0, 0);
+ evdev_support_abs(sc->evdev, ABS_X, 0, UEP_MAX_X, 0, 0, 0);
+ evdev_support_abs(sc->evdev, ABS_Y, 0, UEP_MAX_Y, 0, 0, 0);
error = evdev_register_mtx(sc->evdev, &sc->mtx);
if (error) {
diff --git a/sys/dev/usb/input/wmt.c b/sys/dev/usb/input/wmt.c
index 62e56fe026ca..d65318fee326 100644
--- a/sys/dev/usb/input/wmt.c
+++ b/sys/dev/usb/input/wmt.c
@@ -456,7 +456,7 @@ wmt_attach(device_t dev)
}
WMT_FOREACH_USAGE(sc->caps, i) {
if (wmt_hid_map[i].code != WMT_NO_CODE)
- evdev_support_abs(sc->evdev, wmt_hid_map[i].code, 0,
+ evdev_support_abs(sc->evdev, wmt_hid_map[i].code,
sc->ai[i].min, sc->ai[i].max, 0, 0, sc->ai[i].res);
}