From aff55b614fbb2e4f5444b25906fe23576e4e1896 Mon Sep 17 00:00:00 2001 From: Jian-Hong Pan Date: Wed, 28 Nov 2018 17:41:46 +0800 Subject: [PATCH xkeyboard-config] Map evdev keycode KEY_BRIGHTNESS_CYCLE to XF86MonBrightnessCycle Add XF86MonBrightnessCycle keybinding, to be used as mapping for evdev's KEY_BRIGHTNESS_CYCLE keycode which is generated from ACPI video module's ACPI_VIDEO_NOTIFY_CYCLE_BRIGHTNESS on some Acer AIO desktop buttons. The button changes the screen's brightness on Windows. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=108861 Signed-off-by: Jian-Hong Pan --- symbols/inet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symbols/inet b/symbols/inet index bc4aaa3..c99cefb 100644 --- a/symbols/inet +++ b/symbols/inet @@ -212,7 +212,7 @@ xkb_symbols "evdev" { key { [ XF86WLAN ] }; // key { [ ] }; // KEY_VIDEO_NEXT -- drive next video source // key { [ ] }; // KEY_VIDEO_PREV -- drive previous video source -// key { [ ] }; // KEY_BRIGHTNESS_CYCLE -- bright up, max++ == min + key { [ XF86MonBrightnessCycle ] }; // KEY_BRIGHTNESS_CYCLE -- bright up, max++ == min // key { [ ] }; // KEY_BRIGHTNESS_ZERO -- brightness off // key { [ ] }; // KEY_DISPLAY_OFF -- turn off display key { [ XF86WWAN ] }; // KEY_WWAN -- 2.11.0