aboutsummaryrefslogtreecommitdiffstats
path: root/include/memory.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/memory.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/memory.h')
-rw-r--r--include/memory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/memory.h b/include/memory.h
index 8ffbdab..1a1b688 100644
--- a/include/memory.h
+++ b/include/memory.h
@@ -43,9 +43,9 @@
*
*/
struct Memory {
- unsigned btdata, same;
- unsigned fingers, added, thumb;
- unsigned pointing, pending, moving;
+ bitmask_t btdata, same;
+ bitmask_t fingers, added, thumb;
+ bitmask_t pointing, pending, moving;
int ybar;
mstime_t mvhold, mvforget;
int dx[DIM_FINGER], dy[DIM_FINGER];