aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorZephaniah E. Hull <warp@agamemnon.b5>2006-07-23 22:40:51 -0400
committerZephaniah E. Hull <warp@agamemnon.b5>2006-07-23 22:40:51 -0400
commit771eee968282e308d997adfa78bd39e7429d2c1c (patch)
tree3317db6078e4272ec69dc072a49df37f28c5fddc /src/evdev.h
parentMove the axis to button map code back into the rel code. (diff)
downloadxf86-input-evdev-771eee968282e308d997adfa78bd39e7429d2c1c.tar.gz
xf86-input-evdev-771eee968282e308d997adfa78bd39e7429d2c1c.tar.bz2
xf86-input-evdev-771eee968282e308d997adfa78bd39e7429d2c1c.zip
Replace the old two buffer approach to handling rel emulation of abs axes,
should help with some of the reported jitter problems.
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 161978d..db33546 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -156,8 +156,8 @@ typedef struct {
typedef struct {
int axes;
- int n; /* Which abs_v is current, and which is previous. */
- int v[2][ABS_MAX];
+ int v[ABS_MAX];
+ int old_x, old_y;
int count;
int min[ABS_MAX];
int max[ABS_MAX];