aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtstate.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-06-15 20:32:14 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-06-16 02:28:08 +0200
commit753a645f463f2d72234554bc211cc32f65129929 (patch)
tree5b87d5f0781b9c27c63074326f8a3cf8e3906419 /include/mtstate.h
parent78085b21f2dc7b1d49a0c54ab56b567fc195d440 (diff)
downloadxorg-input-kobomultitouch-753a645f463f2d72234554bc211cc32f65129929.tar.gz
xorg-input-kobomultitouch-753a645f463f2d72234554bc211cc32f65129929.tar.bz2
xorg-input-kobomultitouch-753a645f463f2d72234554bc211cc32f65129929.zip
refactor: Use the bitmask_t type
Use the bitmask_t for all bitfields, to simplify future expansions to larger bit fields. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/mtstate.h')
-rw-r--r--include/mtstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mtstate.h b/include/mtstate.h
index b5f5dd1..b6b8e8d 100644
--- a/include/mtstate.h
+++ b/include/mtstate.h
@@ -32,7 +32,7 @@ struct MTFinger {
struct MTState {
struct MTFinger finger[DIM_FINGER];
int nfinger;
- unsigned button;
+ bitmask_t button;
mstime_t evtime;
};