aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gestures.h2
-rw-r--r--include/hwstate.h2
-rw-r--r--include/memory.h6
-rw-r--r--include/mtstate.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/include/gestures.h b/include/gestures.h
index 2866ba4..2bd4a55 100644
--- a/include/gestures.h
+++ b/include/gestures.h
@@ -34,7 +34,7 @@
#define GS_ROTATE 7
struct Gestures {
- unsigned type, btmask, btdata;
+ bitmask_t type, btmask, btdata;
int same_fingers, dx, dy, scale, rot;
};
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;
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];
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;
};