]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: imon: Add iMON VFD HID OEM v1.2 key mappings
authorAlessandro Baldi <baldovic@virgilio.it>
Sun, 17 May 2026 09:14:15 +0000 (11:14 +0200)
committerSean Young <sean@mess.org>
Sun, 17 May 2026 16:47:25 +0000 (17:47 +0100)
Add Vol+/Vol-/Mute panel button mappings for iMON VFD HID OEM v1.2.
This version differs in the codes that generate the
KEY_VOLUMEUP, KEY_VOLUMEDOWN and KEY_MUTE events.

Signed-off-by: Alessandro Baldi <baldovic@virgilio.it>
Signed-off-by: Sean Young <sean@mess.org>
drivers/media/rc/imon.c

index 9bb27ba8240f831ff5de42b0df50642b283108f9..049a73b5f88296f666c9070875e0b54a08bea11a 100644 (file)
@@ -290,6 +290,10 @@ static const struct imon_usb_dev_descr imon_OEM_VFD = {
                { 0x000100000000ffeell, KEY_VOLUMEUP },
                { 0x010000000000ffeell, KEY_VOLUMEDOWN },
                { 0x000000000100ffeell, KEY_MUTE },
+               /* iMON VFD HID OEM v1.2 */
+               { 0x000000000a00ffeell, KEY_VOLUMEUP },
+               { 0x000000000b00ffeell, KEY_VOLUMEDOWN },
+               { 0x000000000c00ffeell, KEY_MUTE },
                /* 0xffdc iMON MCE VFD */
                { 0x00010000ffffffeell, KEY_VOLUMEUP },
                { 0x01000000ffffffeell, KEY_VOLUMEDOWN },