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
This commit is contained in:
parent
0d79c92b37
commit
99644cdbc4
@ -4966,8 +4966,8 @@ psmsoftintr(void *arg)
|
|||||||
if (evdev_rcpt_mask & EVDEV_RCPT_HW_MOUSE &&
|
if (evdev_rcpt_mask & EVDEV_RCPT_HW_MOUSE &&
|
||||||
sc->hw.model != MOUSE_MODEL_ELANTECH &&
|
sc->hw.model != MOUSE_MODEL_ELANTECH &&
|
||||||
sc->hw.model != MOUSE_MODEL_SYNAPTICS) {
|
sc->hw.model != MOUSE_MODEL_SYNAPTICS) {
|
||||||
evdev_push_rel(sc->evdev_r, EV_REL, x);
|
evdev_push_rel(sc->evdev_r, REL_X, x);
|
||||||
evdev_push_rel(sc->evdev_r, EV_REL, -y);
|
evdev_push_rel(sc->evdev_r, REL_Y, -y);
|
||||||
|
|
||||||
switch (sc->hw.model) {
|
switch (sc->hw.model) {
|
||||||
case MOUSE_MODEL_EXPLORER:
|
case MOUSE_MODEL_EXPLORER:
|
||||||
|
Loading…
Reference in New Issue
Block a user