Skip to content

Commit

Permalink
Input: add new BUS_VIRTUAL bus type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Hanselmann authored and Dmitry Torokhov committed Sep 19, 2006
1 parent f35d061 commit 9a87fdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a87fdd

Please sign in to comment.