summaryrefslogtreecommitdiff
path: root/synaptics.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-07-15 12:21:09 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:02 +0200
commit607ef2ce4d448a88381a14b3bec1a807e3bfc30a (patch)
tree83eb7892ccff297fe6f7686173edbe0efbddcce9 /synaptics.h
parent2c8d34d0cce5178500b3da34c4857426f1f7e221 (diff)
Added #define's for the constants used by the linux event
interface.
Diffstat (limited to 'synaptics.h')
-rw-r--r--synaptics.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/synaptics.h b/synaptics.h
index f735d7c..e5ff918 100644
--- a/synaptics.h
+++ b/synaptics.h
@@ -1,6 +1,8 @@
#ifndef _SYNAPTICS_H_
#define _SYNAPTICS_H_
+#include "linux_input.h"
+
/******************************************************************************
* Public definitions.
* Used by driver and the shared memory configurator
@@ -60,18 +62,6 @@ struct SynapticsHwState {
Bool cbRight;
};
-/*
- * Data format for the linux input event interface.
- */
-struct input_event {
- unsigned long tv_sec;
- unsigned long tv_usec;
- unsigned short type;
- unsigned short code;
- unsigned int value;
-};
-
-
typedef struct _SynapticsTapRec
{
int x, y;