From ed7119960a7022fcf6447b32cf18791523467067 Mon Sep 17 00:00:00 2001 From: Pranay Pawar <75427894+Bugaddr@users.noreply.github.com> Date: Sun, 21 Jun 2026 10:40:21 +0530 Subject: [PATCH] hwdb: Map Acer Nitro AN515-58 NitroSense button to prog1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Acer Nitro AN515-58 has a dedicated NitroSense button (scan code 0xf5) with no entry in its device-specific block. It currently falls through to the generic Acer rule: KEYBOARD_KEY_f5=presentation This is semantically wrong — the button has no relation to presentation mode. Other Nitro models (AN515-47, AN517-54, ANV15-51) already map it to prog1 (XF86Launch1), making it a user-programmable button that desktop environments (KDE, GNOME, etc.) can bind to any action. Add the same mapping for AN515-58 for consistency: KEYBOARD_KEY_f5=prog1 # NitroSense button Tested on Acer Nitro AN515-58 with Linux 7.0.12 and KDE Plasma 6.7 --- hwdb.d/60-keyboard.hwdb | 1 + 1 file changed, 1 insertion(+) diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 19171ee618..291a2fcba6 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -241,6 +241,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnNitro*AN*515-58:pvr* KEYBOARD_KEY_f0=!kbdillumdown # Fn+F9 KEYBOARD_KEY_8a=micmute # Microphone mute button KEYBOARD_KEY_55=power + KEYBOARD_KEY_f5=prog1 # NitroSense button # Nitro AN517-54 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnNitro*AN*517-54:pvr*