// SPDX-License-Identifier: GPL-2.0-or-later
/* keytable for Terratec Cinergy C PCI Remote Controller
*
* Copyright (c) 2010 by Igor M. Liplianin <liplianin@me.by>
*/
#include <media/rc-map.h>
#include <linux/module.h>
static struct rc_map_table terratec_cinergy_c_pci[] = {
{ 0 x3e, KEY_POWER},
{ 0 x3d, KEY_NUMERIC_1},
{ 0 x3c, KEY_NUMERIC_2},
{ 0 x3b, KEY_NUMERIC_3},
{ 0 x3a, KEY_NUMERIC_4},
{ 0 x39, KEY_NUMERIC_5},
{ 0 x38, KEY_NUMERIC_6},
{ 0 x37, KEY_NUMERIC_7},
{ 0 x36, KEY_NUMERIC_8},
{ 0 x35, KEY_NUMERIC_9},
{ 0 x34, KEY_VIDEO_NEXT}, /* AV */
{ 0 x33, KEY_NUMERIC_0},
{ 0 x32, KEY_REFRESH},
{ 0 x30, KEY_EPG},
{ 0 x2f, KEY_UP},
{ 0 x2e, KEY_LEFT},
{ 0 x2d, KEY_OK},
{ 0 x2c, KEY_RIGHT},
{ 0 x2b, KEY_DOWN},
{ 0 x29, KEY_INFO},
{ 0 x28, KEY_RED},
{ 0 x27, KEY_GREEN},
{ 0 x26, KEY_YELLOW},
{ 0 x25, KEY_BLUE},
{ 0 x24, KEY_CHANNELUP},
{ 0 x23, KEY_VOLUMEUP},
{ 0 x22, KEY_MUTE},
{ 0 x21, KEY_VOLUMEDOWN},
{ 0 x20, KEY_CHANNELDOWN},
{ 0 x1f, KEY_PAUSE},
{ 0 x1e, KEY_HOME},
{ 0 x1d, KEY_MENU}, /* DVD Menu */
{ 0 x1c, KEY_SUBTITLE},
{ 0 x1b, KEY_TEXT}, /* Teletext */
{ 0 x1a, KEY_DELETE},
{ 0 x19, KEY_TV},
{ 0 x18, KEY_DVD},
{ 0 x17, KEY_STOP},
{ 0 x16, KEY_VIDEO},
{ 0 x15, KEY_AUDIO}, /* Music */
{ 0 x14, KEY_SCREEN}, /* Pic */
{ 0 x13, KEY_PLAY},
{ 0 x12, KEY_BACK},
{ 0 x11, KEY_REWIND},
{ 0 x10, KEY_FASTFORWARD},
{ 0 x0b, KEY_PREVIOUS},
{ 0 x07, KEY_RECORD},
{ 0 x03, KEY_NEXT},
};
static struct rc_map_list terratec_cinergy_c_pci_map = {
.map = {
.scan = terratec_cinergy_c_pci,
.size = ARRAY_SIZE(terratec_cinergy_c_pci),
.rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */
.name = RC_MAP_TERRATEC_CINERGY_C_PCI,
}
};
static int __init init_rc_map_terratec_cinergy_c_pci(void )
{
return rc_map_register(&terratec_cinergy_c_pci_map);
}
static void __exit exit_rc_map_terratec_cinergy_c_pci(void )
{
rc_map_unregister(&terratec_cinergy_c_pci_map);
}
module_init(init_rc_map_terratec_cinergy_c_pci);
module_exit(exit_rc_map_terratec_cinergy_c_pci);
MODULE_LICENSE("GPL" );
MODULE_DESCRIPTION("Terratec Cinergy C PCI remote controller keytable" );
Messung V0.5 in Prozent C=96 H=93 G=94
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-08)
¤
*© Formatika GbR, Deutschland