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:
committed by
Daniel Stone
parent
93cd53860c
commit
02a9531156
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user