summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMarco Giunta <marco_giunta@outlook.it>2026-09-16 15:47:51 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-13 11:45:03 +0300
commitccc8c8481c1fce1ec092a91883f3a7604f70fc06 (patch)
tree9861e31797fedcadef8f7e8df8a0f7140ea86e0c /tools/perf/scripts/python/bin
parent655d731c391ec3912503b91ecf6269883b13e0c2 (diff)
platform/x86: ideapad-laptop: Map Smart Connect hotkey to KEY_LINK_PHONE
On certain 2025 Lenovo laptops, such as the Yoga Pro 7 14ASP10 and Legion Pro 7 16AFR10H, the F11 key includes a symbol showing a laptop, a tablet and a smartphone. According to the user manual, the key starts the Lenovo Smart Connect app, which connects the laptop to phones and tablets. These laptops send WMI hotkey event 0x48 (scancode 0x148) when the key is pressed, which is currently reported as KEY_UNKNOWN. Map it to KEY_LINK_PHONE as the closest match, as thinkpad_acpi does for the Microsoft Phone Link and Intel Unison keys, see commit 7ba618e893a4 ("platform/x86: thinkpad_acpi: Add support for new phone link hotkey") and commit b511bbfe4242 ("platform/x86: thinkpad_acpi: handle HKEY 0x1402 event"). Signed-off-by: Marco Giunta <marco_giunta@outlook.it> Link: https://patch.msgid.link/SN6PR19MB2303EBD5288E51BA50D904EFFCB92@SN6PR19MB2303.namprd19.prod.outlook.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions