// SPDX-License-Identifier: GPL-2.0+
//
// Copyright (C) 2019 Mohammad Rasim <mohammad.rasim96@gmail.com>
#include <media/rc-map.h>
#include <linux/module.h>
//
// Keytable for the Videostrong KII Pro STB remote control
//
static struct rc_map_table kii_pro[] = {
{ 0 x59, KEY_POWER },
{ 0 x19, KEY_MUTE },
{ 0 x42, KEY_RED },
{ 0 x40, KEY_GREEN },
{ 0 x00, KEY_YELLOW },
{ 0 x03, KEY_BLUE },
{ 0 x4a, KEY_BACK },
{ 0 x48, KEY_FORWARD },
{ 0 x08, KEY_PREVIOUSSONG},
{ 0 x0b, KEY_NEXTSONG},
{ 0 x46, KEY_PLAYPAUSE },
{ 0 x44, KEY_STOP },
{ 0 x1f, KEY_FAVORITES}, //KEY_F5?
{ 0 x04, KEY_PVR },
{ 0 x4d, KEY_EPG },
{ 0 x02, KEY_INFO },
{ 0 x09, KEY_SUBTITLE },
{ 0 x01, KEY_AUDIO },
{ 0 x0d, KEY_HOMEPAGE },
{ 0 x11, KEY_TV }, // DTV ?
{ 0 x06, KEY_UP },
{ 0 x5a, KEY_LEFT },
{ 0 x1a, KEY_ENTER }, // KEY_OK ?
{ 0 x1b, KEY_RIGHT },
{ 0 x16, KEY_DOWN },
{ 0 x45, KEY_MENU },
{ 0 x05, KEY_ESC },
{ 0 x13, KEY_VOLUMEUP },
{ 0 x17, KEY_VOLUMEDOWN },
{ 0 x58, KEY_APPSELECT },
{ 0 x12, KEY_VENDOR }, // mouse
{ 0 x55, KEY_PAGEUP }, // KEY_CHANNELUP ?
{ 0 x15, KEY_PAGEDOWN }, // KEY_CHANNELDOWN ?
{ 0 x52, KEY_1 },
{ 0 x50, KEY_2 },
{ 0 x10, KEY_3 },
{ 0 x56, KEY_4 },
{ 0 x54, KEY_5 },
{ 0 x14, KEY_6 },
{ 0 x4e, KEY_7 },
{ 0 x4c, KEY_8 },
{ 0 x0c, KEY_9 },
{ 0 x18, KEY_WWW }, // KEY_F7
{ 0 x0f, KEY_0 },
{ 0 x51, KEY_BACKSPACE },
};
static struct rc_map_list kii_pro_map = {
.map = {
.scan = kii_pro,
.size = ARRAY_SIZE(kii_pro),
.rc_proto = RC_PROTO_NEC,
.name = RC_MAP_KII_PRO,
}
};
static int __init init_rc_map_kii_pro(void )
{
return rc_map_register(&kii_pro_map);
}
static void __exit exit_rc_map_kii_pro(void )
{
rc_map_unregister(&kii_pro_map);
}
module_init(init_rc_map_kii_pro)
module_exit(exit_rc_map_kii_pro)
MODULE_LICENSE("GPL" );
MODULE_AUTHOR("Mohammad Rasim <mohammad.rasim96@gmail.com>" );
MODULE_DESCRIPTION("Videostrong KII Pro STB remote controller keytable" );
Messung V0.5 in Prozent C=93 H=95 G=93
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-07)
¤
*© Formatika GbR, Deutschland