diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-07-19 10:05:12 -0400 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-07-21 15:19:49 -0400 |
commit | 02a95311568e24e1055ea52c7df8cb7aa3f38ad0 (patch) | |
tree | add5acaf2c60969aa9a9e49dee22c4682d3a3423 /include/input.h | |
parent | 93cd53860c3aca182a0a02543c41b5d71d65926b (diff) |
add basic D-BUS configuration mechanism
Also move LookupDeviceIntRec into the DIX, and add InputOption type, and
NewInputDeviceRequest prototype (DIX requests DDX to add a device). Does not
link without an implemented NIDR.
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h index e32182d4c..3e00be671 100644 --- a/include/input.h +++ b/include/input.h @@ -163,6 +163,12 @@ extern void ResetDevicePrivateIndex(void); extern KeybdCtrl defaultKeyboardControl; extern PtrCtrl defaultPointerControl; +typedef struct _InputOption { + char *key; + char *value; + struct _InputOption *next; +} InputOption; + extern DeviceIntPtr AddInputDevice( DeviceProc /*deviceProc*/, Bool /*autoStart*/); @@ -366,4 +372,11 @@ extern void InitInput( int /*argc*/, char ** /*argv*/); +/* Implemented by the DDX. */ +extern int NewInputDeviceRequest( + InputOption *options); + +extern DeviceIntPtr LookupDeviceIntRec( + CARD8 deviceid); + #endif /* INPUT_H */ |