summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorSimon Thum <simon.thum@gmx.de>2010-09-04 16:31:24 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-17 10:23:01 +1000
commit006157f203f8493bb3d18e333a3fd3d6cb10f8ea (patch)
tree80d69f0d2189d3119b782f9c1b089cfc01b7839b /include/input.h
parent38ffeec0c89e83afc62579dec221c325d667cc1e (diff)
dix: refactor scheme init
This makes it possible to init a scheme in one init call, so we get rid of the tightly coupled two-phase init used before. Signed-off-by: Simon Thum <simon.thum@gmx.de> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h
index 0dc725a37..643866f98 100644
--- a/include/input.h
+++ b/include/input.h
@@ -150,6 +150,11 @@ typedef void (*PointerAccelSchemeProc)(
typedef void (*DeviceCallbackProc)(
DeviceIntPtr /*pDev*/);
+struct _ValuatorAccelerationRec;
+typedef Bool (*PointerAccelSchemeInitProc)(
+ DeviceIntPtr /*dev*/,
+ struct _ValuatorAccelerationRec* /*protoScheme*/);
+
typedef struct _DeviceRec {
pointer devicePrivate;
ProcessInputProc processInputProc; /* current */