summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Hanselmann <linux-kernel@hansmi.ch>2006-09-19 01:59:49 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-19 01:59:49 -0400
commit9a87fdded5742a9d14780e5dfd9c940d7862e0ec (patch)
tree571da23404166159a6426f8553677b491238e407 /include/linux
parentf35d0616bddf4efdfaedc5dfad2267202a3c739f (diff)
downloadblackbird-op-linux-9a87fdded5742a9d14780e5dfd9c940d7862e0ec.tar.gz
blackbird-op-linux-9a87fdded5742a9d14780e5dfd9c940d7862e0ec.zip
Input: add new BUS_VIRTUAL bus type
BUS_VIRTUAL can be used when creating virtual devices using uinput driver. Note that when uinput is used to drive a real piece of hardware "real" bus type (such as BUS_USB, BUS_BLUETOOTH) should be specified. Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 7025432350fa..22a361040547 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -645,6 +645,7 @@ struct input_absinfo {
#define BUS_USB 0x03
#define BUS_HIL 0x04
#define BUS_BLUETOOTH 0x05
+#define BUS_VIRTUAL 0x06
#define BUS_ISA 0x10
#define BUS_I8042 0x11
OpenPOWER on IntegriCloud