From 0711598dd3e8366217676f462f1af7d0899656d9 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 2 Sep 2009 06:47:13 -0700 Subject: config: Introduce InputAttributes in NewInputDeviceRequest In order to give NewInputDeviceRequest more information, a new InputAttributes type is introduced. Currently, this collects the product and vendor name, device path, and sets booleans for attributes such as having keys and/or a pointer. Only the HAL backend fills in the attributes, though. Signed-off-by: Dan Nicholson Reviewed-by: Peter Hutterer --- Xi/stubs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Xi/stubs.c') diff --git a/Xi/stubs.c b/Xi/stubs.c index 400e937d1..04ba9769e 100644 --- a/Xi/stubs.c +++ b/Xi/stubs.c @@ -227,7 +227,8 @@ ChangeDeviceControl(ClientPtr client, DeviceIntPtr dev, * */ int -NewInputDeviceRequest(InputOption *options, DeviceIntPtr *pdev) +NewInputDeviceRequest(InputOption *options, InputAttributes *attrs, + DeviceIntPtr *pdev) { return BadValue; } -- cgit v1.2.3