summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-09-02 06:47:13 -0700
committerDan Nicholson <dbn.lists@gmail.com>2009-12-22 23:24:13 -0800
commit0711598dd3e8366217676f462f1af7d0899656d9 (patch)
tree48d031084a36d03dab4ba9726712b74597d37bac /Xi
parentc6e8637e29e0ca11dfb35c02da7ca6002ac8c597 (diff)
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 <dbn.lists@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Diffstat (limited to 'Xi')
-rw-r--r--Xi/stubs.c3
1 files changed, 2 insertions, 1 deletions
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;
}