diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-10-12 15:38:43 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2010-10-12 15:38:43 +0200 |
commit | acea9df3381825a634c000a574f58b4ca5293ee8 (patch) | |
tree | 3698bd55f137bc377f1b840e4fb5bf9e446e7250 /src/memory.c | |
parent | 7380af2c93dc83f4f09e293717d46eadf7799e89 (diff) | |
download | xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.gz xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.bz2 xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.zip |
Same version, but using the mtdev library.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/memory.c')
-rw-r--r-- | src/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memory.c b/src/memory.c index 974a531..63134ca 100644 --- a/src/memory.c +++ b/src/memory.c @@ -119,13 +119,13 @@ static void update_pointers(struct Memory *m, const struct Capabilities *caps) { const struct FingerState *f = state->finger; - int yclick = caps->abs[BIT_POSITION_Y].maximum - CLICK_AREA(caps); + int yclick = caps->abs[MTDEV_POSITION_Y].maximum - CLICK_AREA(caps); int i; if (state->nfinger < 2) { m->pointing = m->fingers; - m->ybar = caps->abs[BIT_POSITION_Y].maximum; + m->ybar = caps->abs[MTDEV_POSITION_Y].maximum; return; } |