Update support for Synaptics Touchpads (Volume IV)
o Change the motion calculation to result in a more reasonable speed of motion This should fix the 'aiming' problems people have reported. It also mitigates (but doesn't completely solve) the 'stalling' problems at very low speeds. Tested by: many subscribers to -current Approved by: njl
This commit is contained in:
parent
bc1418f61c
commit
1b5dd3aee5
@ -2539,8 +2539,8 @@ psmsoftintr(void *arg)
|
||||
x0 = (x0 + sc->xold * 3) / 4;
|
||||
y0 = (y0 + sc->yold * 3) / 4;
|
||||
|
||||
x = (x0 - sc->xold) / 4;
|
||||
y = (y0 - sc->yold) / 4;
|
||||
x = (x0 - sc->xold) * 10 / 85;
|
||||
y = (y0 - sc->yold) * 10 / 85;
|
||||
} else {
|
||||
sc->flags |= PSM_FLAGS_FINGERDOWN;
|
||||
}
|
||||
|
@ -2539,8 +2539,8 @@ psmsoftintr(void *arg)
|
||||
x0 = (x0 + sc->xold * 3) / 4;
|
||||
y0 = (y0 + sc->yold * 3) / 4;
|
||||
|
||||
x = (x0 - sc->xold) / 4;
|
||||
y = (y0 - sc->yold) / 4;
|
||||
x = (x0 - sc->xold) * 10 / 85;
|
||||
y = (y0 - sc->yold) * 10 / 85;
|
||||
} else {
|
||||
sc->flags |= PSM_FLAGS_FINGERDOWN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user