diff options
author | Peter Osterlund <petero2@telia.com> | 2003-07-31 00:58:57 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:07 +0200 |
commit | 1d47626058ac32d07d08a73bdf1f6d3d19bf71c3 (patch) | |
tree | f2d4324ae7480fe1bd2de64dd9889958f6b37718 /synaptics.c | |
parent | f9f2cb51f552d7a1e75b4a3ad2968cb66129a005 (diff) |
Removed a few forgotten hardcoded values.
Diffstat (limited to 'synaptics.c')
-rw-r--r-- | synaptics.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synaptics.c b/synaptics.c index 0459f53..1516c78 100644 --- a/synaptics.c +++ b/synaptics.c @@ -1388,13 +1388,13 @@ SynapticsParseEventData(LocalDevicePtr local, SynapticsPrivatePtr priv, break; case EV_ABS: switch (ev.code) { - case 0x00: /* ABS_X */ + case ABS_X: priv->hwState.x = ev.value; break; - case 0x01: /* ABS_Y */ + case ABS_Y: priv->hwState.y = ev.value; break; - case 0x18: /* ABS_PRESSURE */ + case ABS_PRESSURE: priv->hwState.z = ev.value; break; } |