diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-05-31 12:10:30 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-05-31 12:10:30 +0000 |
commit | 34388a405ef9f33dec1e161de9e4209e413fefa8 (patch) | |
tree | 589a76ff3f966e4eb4dc36ba8567fd54e83786f3 /sys/dev | |
parent | ede605609ae48e0046c556b49e6382a9a83bac00 (diff) | |
download | src-34388a405ef9f33dec1e161de9e4209e413fefa8.tar.gz src-34388a405ef9f33dec1e161de9e4209e413fefa8.zip |
Correct argument for evdev_push_rel().
This is a regression issue after r319162.
Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes
Notes:
svn path=/head/; revision=334422
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/atkbdc/psm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index 0b6a061e15b5..227b73e7088a 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -4966,8 +4966,8 @@ psmsoftintr(void *arg) if (evdev_rcpt_mask & EVDEV_RCPT_HW_MOUSE && sc->hw.model != MOUSE_MODEL_ELANTECH && sc->hw.model != MOUSE_MODEL_SYNAPTICS) { - evdev_push_rel(sc->evdev_r, EV_REL, x); - evdev_push_rel(sc->evdev_r, EV_REL, -y); + evdev_push_rel(sc->evdev_r, REL_X, x); + evdev_push_rel(sc->evdev_r, REL_Y, -y); switch (sc->hw.model) { case MOUSE_MODEL_EXPLORER: |