summaryrefslogtreecommitdiff
path: root/include/hwstate.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/hwstate.h
parent78085b21f2dc7b1d49a0c54ab56b567fc195d440 (diff)
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/hwstate.h')
-rw-r--r--include/hwstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hwstate.h b/include/hwstate.h
index 76ed016..07d4ed6 100644
--- a/include/hwstate.h
+++ b/include/hwstate.h
@@ -33,7 +33,7 @@ struct FingerState {
33 33
34struct HWState { 34struct HWState {
35 struct FingerState finger[DIM_FINGER]; 35 struct FingerState finger[DIM_FINGER];
36 unsigned button; 36 bitmask_t button;
37 int nfinger; 37 int nfinger;
38 mstime_t evtime; 38 mstime_t evtime;
39 int lastid; 39 int lastid;