summaryrefslogtreecommitdiff
path: root/synaptics.c
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-07-31 00:58:57 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:07 +0200
commit1d47626058ac32d07d08a73bdf1f6d3d19bf71c3 (patch)
treef2d4324ae7480fe1bd2de64dd9889958f6b37718 /synaptics.c
parentf9f2cb51f552d7a1e75b4a3ad2968cb66129a005 (diff)
Removed a few forgotten hardcoded values.
Diffstat (limited to 'synaptics.c')
-rw-r--r--synaptics.c6
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;
}