]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: hid-appletb-kbd: add driver for the keyboard mode of Apple Touch Bars
authorKerem Karabay <kekrby@gmail.com>
Tue, 31 Dec 2024 17:35:04 +0000 (17:35 +0000)
committerJiri Kosina <jkosina@suse.com>
Fri, 7 Feb 2025 13:03:50 +0000 (14:03 +0100)
commit8e9b9152cfbdc2a90a8acb68acbc1407ef67d139
tree82bd4f6d83fcbd7dd691ad85ee04a71be131df66
parent1fd41e5e3d7cc556e43f4162ca28a41f4896c6ad
HID: hid-appletb-kbd: add driver for the keyboard mode of Apple Touch Bars

The Touch Bars found on x86 Macs support two USB configurations: one
where the device presents itself as a HID keyboard and can display
predefined sets of keys, and one where the operating system has full
control over what is displayed. This commit adds a driver for the
display functionality of the first configuration.

Note that currently only T2 Macs are supported.

This driver is based on previous work done by Ronald Tschalär
<ronald@innovation.ch>.

Signed-off-by: Kerem Karabay <kekrby@gmail.com>
Co-developed-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Documentation/ABI/testing/sysfs-driver-hid-appletb-kbd [new file with mode: 0644]
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-appletb-kbd.c [new file with mode: 0644]
drivers/hid/hid-quirks.c