aboutsummaryrefslogtreecommitdiffstats
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
parentf35d0616bddf4efdfaedc5dfad2267202a3c739f (diff)
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>
-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 {
645#define BUS_USB 0x03 645#define BUS_USB 0x03
646#define BUS_HIL 0x04 646#define BUS_HIL 0x04
647#define BUS_BLUETOOTH 0x05 647#define BUS_BLUETOOTH 0x05
648#define BUS_VIRTUAL 0x06
648 649
649#define BUS_ISA 0x10 650#define BUS_ISA 0x10
650#define BUS_I8042 0x11 651#define BUS_I8042 0x11