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.
This commit is contained in:
Daniel Stone
2006-07-19 10:05:12 -04:00
committed by Daniel Stone
parent 93cd53860c
commit 02a9531156
12 changed files with 404 additions and 6 deletions

View File

@@ -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 */