Input: add new BUS_VIRTUAL bus type
authorMichael Hanselmann <linux-kernel@hansmi.ch>
Tue, 19 Sep 2006 05:59:49 +0000 (01:59 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Tue, 19 Sep 2006 05:59:49 +0000 (01:59 -0400)
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>
include/linux/input.h

index 7025432350fac365ccba3a51f1572b7ff711c763..22a3610405478686bf81b609355715135c9b3360 100644 (file)
@@ -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