Forráskód Böngészése

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>
Michael Hanselmann 18 éve
szülő
commit
9a87fdded5
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      include/linux/input.h

+ 1 - 0
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