summaryrefslogtreecommitdiff
path: root/src/synaptics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/synaptics.c')
-rw-r--r--src/synaptics.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index b370950..2049b16 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -992,7 +992,7 @@ SynapticsDetectFinger(SynapticsPrivate * priv, struct SynapticsHwState *hw)
static void
SelectTapButton(SynapticsPrivate * priv, enum EdgeType edge)
{
- TapEvent tap;
+ enum TapEvent tap;
if (priv->synpara.touchpad_off == 2) {
priv->tap_button = 0;
@@ -1775,7 +1775,7 @@ clickpad_guess_clickfingers(SynapticsPrivate * priv,
int i, j;
for (i = 0; i < hw->num_mt_mask - 1; i++) {
- VMask *f1;
+ struct VMask *f1;
if (hw->slot_state[i] == SLOTSTATE_EMPTY ||
hw->slot_state[i] == SLOTSTATE_CLOSE)
@@ -1784,7 +1784,7 @@ clickpad_guess_clickfingers(SynapticsPrivate * priv,
f1 = hw->mt_mask[i];
for (j = i + 1; j < hw->num_mt_mask; j++) {
- VMask *f2;
+ struct VMask *f2;
double x1, x2, y1, y2;
if (hw->slot_state[j] == SLOTSTATE_EMPTY ||
@@ -2325,7 +2325,7 @@ void SynapticsScrollEvent(SynapticsPrivate *priv, unsigned int which,
}
void SynapticsTouchEvent(SynapticsPrivate *priv, unsigned int touchid,
- enum TouchEventType type, VMask *mask)
+ enum TouchEventType type, struct VMask *mask)
{
struct SynapticsFrontend *frontend = priv->frontend;
return frontend->TouchEvent(priv, touchid, type, mask);