summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-06-01 19:22:38 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-06-01 19:22:38 +0000
commit32be08ba7242da74de5defd6a4dcb536a273f57a (patch)
tree0e5a115268f450ea97137296587a7dd40ae21415 /include
parentd81edb9e00680e3c0001f343fa1d0c310b86cb93 (diff)
Remove horrendously ugly DDX backward-compatibility.
Diffstat (limited to 'include')
-rw-r--r--include/input.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/include/input.h b/include/input.h
index bcaa01e6f..e32182d4c 100644
--- a/include/input.h
+++ b/include/input.h
@@ -163,15 +163,7 @@ extern void ResetDevicePrivateIndex(void);
extern KeybdCtrl defaultKeyboardControl;
extern PtrCtrl defaultPointerControl;
-#undef AddInputDevice
-extern DevicePtr AddInputDevice(
- DeviceProc /*deviceProc*/,
- Bool /*autoStart*/);
-
-#define AddInputDevice(deviceProc, autoStart) \
- _AddInputDevice(deviceProc, autoStart)
-
-extern DeviceIntPtr _AddInputDevice(
+extern DeviceIntPtr AddInputDevice(
DeviceProc /*deviceProc*/,
Bool /*autoStart*/);
@@ -190,24 +182,10 @@ extern void RemoveDevice(
extern int NumMotionEvents(void);
-#undef RegisterPointerDevice
extern void RegisterPointerDevice(
- DevicePtr /*device*/);
-
-#define RegisterPointerDevice(device) \
- _RegisterPointerDevice(device)
-
-extern void _RegisterPointerDevice(
DeviceIntPtr /*device*/);
-#undef RegisterKeyboardDevice
extern void RegisterKeyboardDevice(
- DevicePtr /*device*/);
-
-#define RegisterKeyboardDevice(device) \
- _RegisterKeyboardDevice(device)
-
-extern void _RegisterKeyboardDevice(
DeviceIntPtr /*device*/);
extern DevicePtr LookupKeyboardDevice(void);