Skip to content

Commit

Permalink
Drivers: input: misc: Add driver touchscreen-buttons to support physi…
Browse files Browse the repository at this point in the history
…cally labeled buttons on touch screen surfaces

Adds a driver for supporting permanet, physically labeled, buttons on touchscreen surfaces. As are common on android phones designed with android 1.0 to 2.3 in mind. The driver works by attaching to another input device and mirroring its events, while inserting key events and filtering for touches that land on the buttons. Buttons are arbitrary rectangles configurable via dts.

Signed-off-by: Carl Philipp Klemm <carl@uvos.xyz>
  • Loading branch information
IMbackK authored and intel-lab-lkp committed Oct 29, 2020
1 parent 8a30c6e commit 00fd93a
Show file tree
Hide file tree
Showing 3 changed files with 567 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/input/misc/Kconfig
Expand Up @@ -318,6 +318,14 @@ config INPUT_CPCAP_PWRBUTTON
To compile this driver as a module, choose M here. The module will
be called cpcap-pwrbutton.

config INPUT_TOUCHSCREEN_BUTTONS
tristate "Touchscreen Buttons"
help
Say Y here if you want to enable buttons on touchscreen devices.

To compile this driver as a module, choose M here. The module will
be called touchscreen-buttons.

config INPUT_WISTRON_BTNS
tristate "x86 Wistron laptop button interface"
depends on X86_32
Expand Down
1 change: 1 addition & 0 deletions drivers/input/misc/Makefile
Expand Up @@ -84,4 +84,5 @@ 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
obj-$(CONFIG_INPUT_TOUCHSCREEN_BUTTONS) += touchscreen-buttons.o

0 comments on commit 00fd93a

Please sign in to comment.