aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2022-03-14 21:08:44 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-03-14 21:11:12 -0700
commita9d672998a33e4bccdf62f6c2f8a47d51893b83f (patch)
tree0e97fc9fe33a897fd4caa817e15599f6e8881dbc /drivers/hid/Kconfig
parentHID: google: extract Vivaldi hid feature mapping for use in hid-hammer (diff)
downloadlinux-dev-a9d672998a33e4bccdf62f6c2f8a47d51893b83f.tar.xz
linux-dev-a9d672998a33e4bccdf62f6c2f8a47d51893b83f.zip
HID: google: Add support for vivaldi to hid-hammer
Add support to the hammer driver to parse vivaldi keyboard layouts and expose them to userspace. This allows hammer devices to use vivaldi function row keys while also supporting the other features this driver supports, like the CBAS (chrome base attached switch) and a keyboard backlight. Signed-off-by: Stephen Boyd <swboyd@chromium.org> Tested-by: Stephen Boyd <swboyd@chromium.org> # coachz, wormdingler Link: https://lore.kernel.org/r/20220228075446.466016-5-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r--drivers/hid/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index f5245c5fe1af..4bea966e617b 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -412,6 +412,8 @@ config HID_VIVALDI_COMMON
config HID_GOOGLE_HAMMER
tristate "Google Hammer Keyboard"
+ select HID_VIVALDI_COMMON
+ select INPUT_VIVALDIFMAP
depends on USB_HID && LEDS_CLASS && CROS_EC
help
Say Y here if you have a Google Hammer device.