utils/keytable/rc_keymaps: add zune_hddock.toml
PATCH 1/1 utils/keytable/rc_keymaps: add zune_hddock.toml
Add Zune HD Dock remote control (Model 1401) data.
Signed-off-by jdstroy <[email protected]>
---
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
@@ -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
Quoted 3 lines · John Stroy
Add Zune HD Dock remote control (Model 1401) data.
Signed-off-by jdstroy <[email protected]>
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:
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.tomlutils/keytable/rc_keymaps/zune_hddock.toml new file +17
-1@@ -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