Skip to contentSkip to conversation

utils/keytable/rc_keymaps: add zune_hddock.toml

PATCH In review John Stroy 2 participants 2 messages Oct 4, 2025 – Oct 5, 2025 Media (V4L/DVB)

lore
Share & tools
lore

John Stroy

author
#0 lore raw

PATCH 1/1 utils/keytable/rc_keymaps: add zune_hddock.toml

Add Zune HD Dock remote control (Model 1401) data.

---
 utils/keytable/rc_keymaps/zune_hddock.toml | 17 +++++++++++++++++

 1 file changed, 17 insertions(+)

 create mode 100644 utils/keytable/rc_keymaps/zune_hddock.toml

utils/keytable/rc_keymaps/zune_hddock.toml new file +17 -0
new file mode 100644
index 00000000..a38fc75e
@@ -0,0 +1,17 @@
+[[protocols]]
+name = "zune_hd_dock"
+protocol = "rc6"
+variant = "rc6_mce"
+[protocols.scancodes]
+0x800f640d = "KEY_SELECT"
+0x800f6410 = "KEY_VOLUMEUP"
+0x800f6411 = "KEY_VOLUMEDOWN"
+0x800f641e = "KEY_UP"
+0x800f641f = "KEY_DOWN"
+0x800f6420 = "KEY_LEFT"
+0x800f6421 = "KEY_RIGHT"
+0x800f6422 = "KEY_ENTER"
+0x800f6423 = "KEY_BACK"
+0x800f6427 = "KEY_PREVIOUSSONG"
+0x800f6426 = "KEY_NEXTSONG"
+0x800f646e = "KEY_PLAYPAUSE"

--
2.43.0

#1 lore raw
Quoted 3 lines · John Stroy

Add Zune HD Dock remote control (Model 1401) data.

Thank you for your patch. The way we add keymaps is that we add it to the kernel tree and then the toml file for v4l-utils is generated from that. See this commit for example:

https://gitlab.freedesktop.org/linux-media/media-committers/-/commit/e31604d5922ef76a58bd3f9ae719486887eb266e

Thanks,
Sean

Quoted 32 lines

---
 utils/keytable/rc_keymaps/zune_hddock.toml | 17 +++++++++++++++++

 1 file changed, 17 insertions(+)

 create mode 100644 utils/keytable/rc_keymaps/zune_hddock.toml

utils/keytable/rc_keymaps/zune_hddock.toml new file +17 -1
new file mode 100644
index 00000000..a38fc75e
@@ -0,0 +1,17 @@
+[[protocols]]
+name = "zune_hd_dock"
+protocol = "rc6"
+variant = "rc6_mce"
+[protocols.scancodes]
+0x800f640d = "KEY_SELECT"
+0x800f6410 = "KEY_VOLUMEUP"
+0x800f6411 = "KEY_VOLUMEDOWN"
+0x800f641e = "KEY_UP"
+0x800f641f = "KEY_DOWN"
+0x800f6420 = "KEY_LEFT"
+0x800f6421 = "KEY_RIGHT"
+0x800f6422 = "KEY_ENTER"
+0x800f6423 = "KEY_BACK"
+0x800f6427 = "KEY_PREVIOUSSONG"
+0x800f6426 = "KEY_NEXTSONG"
+0x800f646e = "KEY_PLAYPAUSE"
--

2.43.0