svn commit: r334422 - head/sys/dev/atkbdc
Hans Petter Selasky
hselasky at FreeBSD.org
Thu May 31 12:10:31 UTC 2018
Author: hselasky
Date: Thu May 31 12:10:30 2018
New Revision: 334422
URL: https://svnweb.freebsd.org/changeset/base/334422
Log:
Correct argument for evdev_push_rel().
This is a regression issue after r319162.
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Modified:
head/sys/dev/atkbdc/psm.c
Modified: head/sys/dev/atkbdc/psm.c
==============================================================================
--- head/sys/dev/atkbdc/psm.c Thu May 31 11:53:46 2018 (r334421)
+++ head/sys/dev/atkbdc/psm.c Thu May 31 12:10:30 2018 (r334422)
@@ -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:
More information about the svn-src-head
mailing list