Date: Thu, 31 May 2018 12:10:30 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334422 - head/sys/dev/atkbdc Message-ID: <201805311210.w4VCAUrw048925@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805311210.w4VCAUrw048925>