Commit e861e10d authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by David Edmundson

Add touchpad shortcuts to the whitelist

Summary: My laptop's ACPI has a weird habit of sending the touchpad toggle key stroke when closing the lid, so the shortcut to enable the touchpad turns out to be handy even when the screen is locked.

Test Plan: The touchpad should be enabled/disabled after pressing the button when the screen is locked.

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: graesslin, plasma-devel

Tags: #plasma

Differential Revision:
parent f1a1c9b2
......@@ -55,6 +55,9 @@ static const QMap<QString, QRegularExpression> s_shortcutWhitelist{
{QStringLiteral("/component/KDE_Keyboard_Layout_Switcher"), QRegularExpression(
QStringLiteral("Switch to Next Keyboard Layout|Switch keyboard layout to .*")
{QStringLiteral("/component/kcm_touchpad"), QRegularExpression(
QStringLiteral("Toggle Touchpad|Enable Touchpad|Disable Touchpad")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment