From 753a645f463f2d72234554bc211cc32f65129929 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 15 Jun 2010 20:32:14 +0200 Subject: 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 --- include/hwstate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hwstate.h') 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 { struct HWState { struct FingerState finger[DIM_FINGER]; - unsigned button; + bitmask_t button; int nfinger; mstime_t evtime; int lastid; -- cgit v1.2.3