projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f35d061
)
Input: add new BUS_VIRTUAL bus type
author
Michael Hanselmann
<linux-kernel@hansmi.ch>
Tue, 19 Sep 2006 05:59:49 +0000
(
01:59
-0400)
committer
Dmitry 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
patch
|
blob
|
history
diff --git
a/include/linux/input.h
b/include/linux/input.h
index 7025432350fac365ccba3a51f1572b7ff711c763..22a3610405478686bf81b609355715135c9b3360 100644
(file)
--- 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