diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-05-14 01:29:05 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2010-05-14 01:41:39 +0200 |
commit | bfd266660d69e13263e3895fb059040b65255a72 (patch) | |
tree | 0ee0737f58307e345f9db2ebdd3de87e01febea6 /src/mtouch.c | |
parent | 8ced3667a30e00bd2368d4b5417f1f07cc86d290 (diff) | |
download | xorg-input-kobomultitouch-bfd266660d69e13263e3895fb059040b65255a72.tar.gz xorg-input-kobomultitouch-bfd266660d69e13263e3895fb059040b65255a72.tar.bz2 xorg-input-kobomultitouch-bfd266660d69e13263e3895fb059040b65255a72.zip |
janitor: Split gesture code into memory refresh and parse
Split the gesture code into a lexical part, which updates the filtered
motion state, and a parsing part, which translates the motion state to
gestures.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.c')
-rw-r--r-- | src/mtouch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mtouch.c b/src/mtouch.c index 44b4376..ad077b7 100644 --- a/src/mtouch.c +++ b/src/mtouch.c @@ -66,4 +66,8 @@ void parse_event(struct MTouch *mt) #if 0 output_mtstate(&mt->state); #endif + refresh_memory(&mt->mem, &mt->prev_state, &mt->state, &mt->caps); +#if 0 + output_memory(&mt->mem); +#endif } |