diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2009-09-02 06:47:13 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2009-12-22 23:24:13 -0800 |
commit | 0711598dd3e8366217676f462f1af7d0899656d9 (patch) | |
tree | 48d031084a36d03dab4ba9726712b74597d37bac /hw/dmx | |
parent | c6e8637e29e0ca11dfb35c02da7ca6002ac8c597 (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 'hw/dmx')
-rw-r--r-- | hw/dmx/dmxinput.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/dmx/dmxinput.c b/hw/dmx/dmxinput.c index d9118b6a0..c099349d8 100644 --- a/hw/dmx/dmxinput.c +++ b/hw/dmx/dmxinput.c @@ -103,7 +103,8 @@ void dmxUpdateWindowInfo(DMXUpdateType type, WindowPtr pWindow) } int -NewInputDeviceRequest (InputOption *options, DeviceIntPtr *pdev) +NewInputDeviceRequest (InputOption *options, InputAttributes *attrs, + DeviceIntPtr *pdev) { return BadRequest; } |