input: ideapad_slidebar: new input driver
Subsystems (3)
Andrey Moiseev
maintainerPATCH 1/1 input: ideapad_slidebar: new input driver
ideapad-slidebar is a new driver which enables slidebars on some Lenovo IdeaPad laptops.
Fixes this: https://bugzilla.kernel.org/show_bug.cgi?id=16004
Registers 'IdeaPad Slidebar' input device and /sys/devices/platform/ideapad_slidebar/slidebar_mode for switching slidebar's modes.
Now works on:
* Lenovo IdeaPad Y550
* Lenovo IdeaPad Y550P
Driver source: https://github.com/o2genum/ideapad-slidebar.git
Signed-off-by Andrey Moiseev <[email protected]>
--- drivers/input/misc/Kconfig | 9 + drivers/input/misc/Makefile | 1 + drivers/input/misc/ideapad_slidebar.c | 378 ++++++++++++++++++++++++++++++++++ 3 files changed, 388 insertions(+) create mode 100644 drivers/input/misc/ideapad_slidebar.c
drivers/input/misc/Kconfig +9 -0
@@ -647,4 +647,13 @@ config INPUT_SIRFSOC_ONKEY If unsure, say N. +config INPUT_IDEAPAD_SLIDEBAR + tristate "IdeaPad Laptop Slidebar" + depends on INPUT + help + Input driver for slidebars on some Lenovo IdeaPad laptops. + + If you have an IdeaPad laptop with a slidebar, say Y or M here. + Module name is ideapad_slidebar. + endif
drivers/input/misc/Makefile +1 -0
@@ -61,3 +61,4 @@ obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o obj-$(CONFIG_INPUT_WM831X_ON) += wm831x-on.o obj-$(CONFIG_INPUT_XEN_KBDDEV_FRONTEND) += xen-kbdfront.o obj-$(CONFIG_INPUT_YEALINK) += yealink.o +obj-$(CONFIG_INPUT_IDEAPAD_SLIDEBAR) += ideapad_slidebar.o
drivers/input/misc/ideapad_slidebar.c new file +378 -0
378 lines not on this page · raw message
Signature · 1 line
1.8.3.3