18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * rc-map.h - define RC map names used by RC drivers
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2010 by Mauro Carvalho Chehab
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _MEDIA_RC_MAP_H
98c2ecf20Sopenharmony_ci#define _MEDIA_RC_MAP_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#include <linux/input.h>
128c2ecf20Sopenharmony_ci#include <uapi/linux/lirc.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_NONE		0ULL
158c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_UNKNOWN		BIT_ULL(RC_PROTO_UNKNOWN)
168c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_OTHER		BIT_ULL(RC_PROTO_OTHER)
178c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC5		BIT_ULL(RC_PROTO_RC5)
188c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC5X_20		BIT_ULL(RC_PROTO_RC5X_20)
198c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC5_SZ		BIT_ULL(RC_PROTO_RC5_SZ)
208c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_JVC		BIT_ULL(RC_PROTO_JVC)
218c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_SONY12		BIT_ULL(RC_PROTO_SONY12)
228c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_SONY15		BIT_ULL(RC_PROTO_SONY15)
238c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_SONY20		BIT_ULL(RC_PROTO_SONY20)
248c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_NEC		BIT_ULL(RC_PROTO_NEC)
258c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_NECX		BIT_ULL(RC_PROTO_NECX)
268c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_NEC32		BIT_ULL(RC_PROTO_NEC32)
278c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_SANYO		BIT_ULL(RC_PROTO_SANYO)
288c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_MCIR2_KBD		BIT_ULL(RC_PROTO_MCIR2_KBD)
298c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_MCIR2_MSE		BIT_ULL(RC_PROTO_MCIR2_MSE)
308c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC6_0		BIT_ULL(RC_PROTO_RC6_0)
318c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC6_6A_20		BIT_ULL(RC_PROTO_RC6_6A_20)
328c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC6_6A_24		BIT_ULL(RC_PROTO_RC6_6A_24)
338c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC6_6A_32		BIT_ULL(RC_PROTO_RC6_6A_32)
348c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RC6_MCE		BIT_ULL(RC_PROTO_RC6_MCE)
358c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_SHARP		BIT_ULL(RC_PROTO_SHARP)
368c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_XMP		BIT_ULL(RC_PROTO_XMP)
378c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_CEC		BIT_ULL(RC_PROTO_CEC)
388c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_IMON		BIT_ULL(RC_PROTO_IMON)
398c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RCMM12		BIT_ULL(RC_PROTO_RCMM12)
408c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RCMM24		BIT_ULL(RC_PROTO_RCMM24)
418c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_RCMM32		BIT_ULL(RC_PROTO_RCMM32)
428c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_XBOX_DVD		BIT_ULL(RC_PROTO_XBOX_DVD)
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_RC5_DECODER)
458c2ecf20Sopenharmony_ci#define __RC_PROTO_RC5_CODEC \
468c2ecf20Sopenharmony_ci	(RC_PROTO_BIT_RC5 | RC_PROTO_BIT_RC5X_20 |  RC_PROTO_BIT_RC5_SZ)
478c2ecf20Sopenharmony_ci#else
488c2ecf20Sopenharmony_ci#define __RC_PROTO_RC5_CODEC 0
498c2ecf20Sopenharmony_ci#endif
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_JVC_DECODER)
528c2ecf20Sopenharmony_ci#define __RC_PROTO_JVC_CODEC RC_PROTO_BIT_JVC
538c2ecf20Sopenharmony_ci#else
548c2ecf20Sopenharmony_ci#define __RC_PROTO_JVC_CODEC 0
558c2ecf20Sopenharmony_ci#endif
568c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_SONY_DECODER)
578c2ecf20Sopenharmony_ci#define __RC_PROTO_SONY_CODEC \
588c2ecf20Sopenharmony_ci	(RC_PROTO_BIT_SONY12 | RC_PROTO_BIT_SONY15 |  RC_PROTO_BIT_SONY20)
598c2ecf20Sopenharmony_ci#else
608c2ecf20Sopenharmony_ci#define __RC_PROTO_SONY_CODEC 0
618c2ecf20Sopenharmony_ci#endif
628c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_NEC_DECODER)
638c2ecf20Sopenharmony_ci#define __RC_PROTO_NEC_CODEC \
648c2ecf20Sopenharmony_ci	(RC_PROTO_BIT_NEC | RC_PROTO_BIT_NECX | RC_PROTO_BIT_NEC32)
658c2ecf20Sopenharmony_ci#else
668c2ecf20Sopenharmony_ci#define __RC_PROTO_NEC_CODEC 0
678c2ecf20Sopenharmony_ci#endif
688c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_SANYO_DECODER)
698c2ecf20Sopenharmony_ci#define __RC_PROTO_SANYO_CODEC RC_PROTO_BIT_SANYO
708c2ecf20Sopenharmony_ci#else
718c2ecf20Sopenharmony_ci#define __RC_PROTO_SANYO_CODEC 0
728c2ecf20Sopenharmony_ci#endif
738c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_MCE_KBD_DECODER)
748c2ecf20Sopenharmony_ci#define __RC_PROTO_MCE_KBD_CODEC \
758c2ecf20Sopenharmony_ci	(RC_PROTO_BIT_MCIR2_KBD |  RC_PROTO_BIT_MCIR2_MSE)
768c2ecf20Sopenharmony_ci#else
778c2ecf20Sopenharmony_ci#define __RC_PROTO_MCE_KBD_CODEC 0
788c2ecf20Sopenharmony_ci#endif
798c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_RC6_DECODER)
808c2ecf20Sopenharmony_ci#define __RC_PROTO_RC6_CODEC \
818c2ecf20Sopenharmony_ci	(RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \
828c2ecf20Sopenharmony_ci	 RC_PROTO_BIT_RC6_6A_24 |  RC_PROTO_BIT_RC6_6A_32 | \
838c2ecf20Sopenharmony_ci	 RC_PROTO_BIT_RC6_MCE)
848c2ecf20Sopenharmony_ci#else
858c2ecf20Sopenharmony_ci#define __RC_PROTO_RC6_CODEC 0
868c2ecf20Sopenharmony_ci#endif
878c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_SHARP_DECODER)
888c2ecf20Sopenharmony_ci#define __RC_PROTO_SHARP_CODEC RC_PROTO_BIT_SHARP
898c2ecf20Sopenharmony_ci#else
908c2ecf20Sopenharmony_ci#define __RC_PROTO_SHARP_CODEC 0
918c2ecf20Sopenharmony_ci#endif
928c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_XMP_DECODER)
938c2ecf20Sopenharmony_ci#define __RC_PROTO_XMP_CODEC RC_PROTO_BIT_XMP
948c2ecf20Sopenharmony_ci#else
958c2ecf20Sopenharmony_ci#define __RC_PROTO_XMP_CODEC 0
968c2ecf20Sopenharmony_ci#endif
978c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_IMON_DECODER)
988c2ecf20Sopenharmony_ci#define __RC_PROTO_IMON_CODEC RC_PROTO_BIT_IMON
998c2ecf20Sopenharmony_ci#else
1008c2ecf20Sopenharmony_ci#define __RC_PROTO_IMON_CODEC 0
1018c2ecf20Sopenharmony_ci#endif
1028c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_RCMM_DECODER)
1038c2ecf20Sopenharmony_ci#define __RC_PROTO_RCMM_CODEC \
1048c2ecf20Sopenharmony_ci	(RC_PROTO_BIT_RCMM12 | RC_PROTO_BIT_RCMM24 | RC_PROTO_BIT_RCMM32)
1058c2ecf20Sopenharmony_ci#else
1068c2ecf20Sopenharmony_ci#define __RC_PROTO_RCMM_CODEC 0
1078c2ecf20Sopenharmony_ci#endif
1088c2ecf20Sopenharmony_ci
1098c2ecf20Sopenharmony_ci/* All kernel-based codecs have encoders and decoders */
1108c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_ALL_IR_DECODER \
1118c2ecf20Sopenharmony_ci	(__RC_PROTO_RC5_CODEC | __RC_PROTO_JVC_CODEC | __RC_PROTO_SONY_CODEC | \
1128c2ecf20Sopenharmony_ci	 __RC_PROTO_NEC_CODEC | __RC_PROTO_SANYO_CODEC | \
1138c2ecf20Sopenharmony_ci	 __RC_PROTO_MCE_KBD_CODEC | __RC_PROTO_RC6_CODEC | \
1148c2ecf20Sopenharmony_ci	 __RC_PROTO_SHARP_CODEC | __RC_PROTO_XMP_CODEC | \
1158c2ecf20Sopenharmony_ci	 __RC_PROTO_IMON_CODEC | __RC_PROTO_RCMM_CODEC)
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci#define RC_PROTO_BIT_ALL_IR_ENCODER \
1188c2ecf20Sopenharmony_ci	(__RC_PROTO_RC5_CODEC | __RC_PROTO_JVC_CODEC | __RC_PROTO_SONY_CODEC | \
1198c2ecf20Sopenharmony_ci	 __RC_PROTO_NEC_CODEC | __RC_PROTO_SANYO_CODEC | \
1208c2ecf20Sopenharmony_ci	 __RC_PROTO_MCE_KBD_CODEC | __RC_PROTO_RC6_CODEC | \
1218c2ecf20Sopenharmony_ci	 __RC_PROTO_SHARP_CODEC | __RC_PROTO_XMP_CODEC | \
1228c2ecf20Sopenharmony_ci	 __RC_PROTO_IMON_CODEC | __RC_PROTO_RCMM_CODEC)
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_ci#define RC_SCANCODE_UNKNOWN(x)			(x)
1258c2ecf20Sopenharmony_ci#define RC_SCANCODE_OTHER(x)			(x)
1268c2ecf20Sopenharmony_ci#define RC_SCANCODE_NEC(addr, cmd)		(((addr) << 8) | (cmd))
1278c2ecf20Sopenharmony_ci#define RC_SCANCODE_NECX(addr, cmd)		(((addr) << 8) | (cmd))
1288c2ecf20Sopenharmony_ci#define RC_SCANCODE_NEC32(data)			((data) & 0xffffffff)
1298c2ecf20Sopenharmony_ci#define RC_SCANCODE_RC5(sys, cmd)		(((sys) << 8) | (cmd))
1308c2ecf20Sopenharmony_ci#define RC_SCANCODE_RC5_SZ(sys, cmd)		(((sys) << 8) | (cmd))
1318c2ecf20Sopenharmony_ci#define RC_SCANCODE_RC6_0(sys, cmd)		(((sys) << 8) | (cmd))
1328c2ecf20Sopenharmony_ci#define RC_SCANCODE_RC6_6A(vendor, sys, cmd)	(((vendor) << 16) | ((sys) << 8) | (cmd))
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci/**
1358c2ecf20Sopenharmony_ci * struct rc_map_table - represents a scancode/keycode pair
1368c2ecf20Sopenharmony_ci *
1378c2ecf20Sopenharmony_ci * @scancode: scan code (u64)
1388c2ecf20Sopenharmony_ci * @keycode: Linux input keycode
1398c2ecf20Sopenharmony_ci */
1408c2ecf20Sopenharmony_cistruct rc_map_table {
1418c2ecf20Sopenharmony_ci	u64	scancode;
1428c2ecf20Sopenharmony_ci	u32	keycode;
1438c2ecf20Sopenharmony_ci};
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ci/**
1468c2ecf20Sopenharmony_ci * struct rc_map - represents a keycode map table
1478c2ecf20Sopenharmony_ci *
1488c2ecf20Sopenharmony_ci * @scan: pointer to struct &rc_map_table
1498c2ecf20Sopenharmony_ci * @size: Max number of entries
1508c2ecf20Sopenharmony_ci * @len: Number of entries that are in use
1518c2ecf20Sopenharmony_ci * @alloc: size of \*scan, in bytes
1528c2ecf20Sopenharmony_ci * @rc_proto: type of the remote controller protocol, as defined at
1538c2ecf20Sopenharmony_ci *	     enum &rc_proto
1548c2ecf20Sopenharmony_ci * @name: name of the key map table
1558c2ecf20Sopenharmony_ci * @lock: lock to protect access to this structure
1568c2ecf20Sopenharmony_ci */
1578c2ecf20Sopenharmony_cistruct rc_map {
1588c2ecf20Sopenharmony_ci	struct rc_map_table	*scan;
1598c2ecf20Sopenharmony_ci	unsigned int		size;
1608c2ecf20Sopenharmony_ci	unsigned int		len;
1618c2ecf20Sopenharmony_ci	unsigned int		alloc;
1628c2ecf20Sopenharmony_ci	enum rc_proto		rc_proto;
1638c2ecf20Sopenharmony_ci	const char		*name;
1648c2ecf20Sopenharmony_ci	spinlock_t		lock;
1658c2ecf20Sopenharmony_ci};
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ci/**
1688c2ecf20Sopenharmony_ci * struct rc_map_list - list of the registered &rc_map maps
1698c2ecf20Sopenharmony_ci *
1708c2ecf20Sopenharmony_ci * @list: pointer to struct &list_head
1718c2ecf20Sopenharmony_ci * @map: pointer to struct &rc_map
1728c2ecf20Sopenharmony_ci */
1738c2ecf20Sopenharmony_cistruct rc_map_list {
1748c2ecf20Sopenharmony_ci	struct list_head	 list;
1758c2ecf20Sopenharmony_ci	struct rc_map map;
1768c2ecf20Sopenharmony_ci};
1778c2ecf20Sopenharmony_ci
1788c2ecf20Sopenharmony_ci#ifdef CONFIG_MEDIA_CEC_RC
1798c2ecf20Sopenharmony_ci/*
1808c2ecf20Sopenharmony_ci * rc_map_list from rc-cec.c
1818c2ecf20Sopenharmony_ci */
1828c2ecf20Sopenharmony_ciextern struct rc_map_list cec_map;
1838c2ecf20Sopenharmony_ci#endif
1848c2ecf20Sopenharmony_ci
1858c2ecf20Sopenharmony_ci/* Routines from rc-map.c */
1868c2ecf20Sopenharmony_ci
1878c2ecf20Sopenharmony_ci/**
1888c2ecf20Sopenharmony_ci * rc_map_register() - Registers a Remote Controller scancode map
1898c2ecf20Sopenharmony_ci *
1908c2ecf20Sopenharmony_ci * @map:	pointer to struct rc_map_list
1918c2ecf20Sopenharmony_ci */
1928c2ecf20Sopenharmony_ciint rc_map_register(struct rc_map_list *map);
1938c2ecf20Sopenharmony_ci
1948c2ecf20Sopenharmony_ci/**
1958c2ecf20Sopenharmony_ci * rc_map_unregister() - Unregisters a Remote Controller scancode map
1968c2ecf20Sopenharmony_ci *
1978c2ecf20Sopenharmony_ci * @map:	pointer to struct rc_map_list
1988c2ecf20Sopenharmony_ci */
1998c2ecf20Sopenharmony_civoid rc_map_unregister(struct rc_map_list *map);
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ci/**
2028c2ecf20Sopenharmony_ci * rc_map_get - gets an RC map from its name
2038c2ecf20Sopenharmony_ci * @name: name of the RC scancode map
2048c2ecf20Sopenharmony_ci */
2058c2ecf20Sopenharmony_cistruct rc_map *rc_map_get(const char *name);
2068c2ecf20Sopenharmony_ci
2078c2ecf20Sopenharmony_ci/* Names of the several keytables defined in-kernel */
2088c2ecf20Sopenharmony_ci
2098c2ecf20Sopenharmony_ci#define RC_MAP_ADSTECH_DVB_T_PCI         "rc-adstech-dvb-t-pci"
2108c2ecf20Sopenharmony_ci#define RC_MAP_ALINK_DTU_M               "rc-alink-dtu-m"
2118c2ecf20Sopenharmony_ci#define RC_MAP_ANYSEE                    "rc-anysee"
2128c2ecf20Sopenharmony_ci#define RC_MAP_APAC_VIEWCOMP             "rc-apac-viewcomp"
2138c2ecf20Sopenharmony_ci#define RC_MAP_ASTROMETA_T2HYBRID        "rc-astrometa-t2hybrid"
2148c2ecf20Sopenharmony_ci#define RC_MAP_ASUS_PC39                 "rc-asus-pc39"
2158c2ecf20Sopenharmony_ci#define RC_MAP_ASUS_PS3_100              "rc-asus-ps3-100"
2168c2ecf20Sopenharmony_ci#define RC_MAP_ATI_TV_WONDER_HD_600      "rc-ati-tv-wonder-hd-600"
2178c2ecf20Sopenharmony_ci#define RC_MAP_ATI_X10                   "rc-ati-x10"
2188c2ecf20Sopenharmony_ci#define RC_MAP_AVERMEDIA                 "rc-avermedia"
2198c2ecf20Sopenharmony_ci#define RC_MAP_AVERMEDIA_A16D            "rc-avermedia-a16d"
2208c2ecf20Sopenharmony_ci#define RC_MAP_AVERMEDIA_CARDBUS         "rc-avermedia-cardbus"
2218c2ecf20Sopenharmony_ci#define RC_MAP_AVERMEDIA_DVBT            "rc-avermedia-dvbt"
2228c2ecf20Sopenharmony_ci#define RC_MAP_AVERMEDIA_M135A           "rc-avermedia-m135a"
2238c2ecf20Sopenharmony_ci#define RC_MAP_AVERMEDIA_M733A_RM_K6     "rc-avermedia-m733a-rm-k6"
2248c2ecf20Sopenharmony_ci#define RC_MAP_AVERMEDIA_RM_KS           "rc-avermedia-rm-ks"
2258c2ecf20Sopenharmony_ci#define RC_MAP_AVERTV_303                "rc-avertv-303"
2268c2ecf20Sopenharmony_ci#define RC_MAP_AZUREWAVE_AD_TU700        "rc-azurewave-ad-tu700"
2278c2ecf20Sopenharmony_ci#define RC_MAP_BEELINK_GS1               "rc-beelink-gs1"
2288c2ecf20Sopenharmony_ci#define RC_MAP_BEHOLD                    "rc-behold"
2298c2ecf20Sopenharmony_ci#define RC_MAP_BEHOLD_COLUMBUS           "rc-behold-columbus"
2308c2ecf20Sopenharmony_ci#define RC_MAP_BUDGET_CI_OLD             "rc-budget-ci-old"
2318c2ecf20Sopenharmony_ci#define RC_MAP_CEC                       "rc-cec"
2328c2ecf20Sopenharmony_ci#define RC_MAP_CINERGY                   "rc-cinergy"
2338c2ecf20Sopenharmony_ci#define RC_MAP_CINERGY_1400              "rc-cinergy-1400"
2348c2ecf20Sopenharmony_ci#define RC_MAP_D680_DMB                  "rc-d680-dmb"
2358c2ecf20Sopenharmony_ci#define RC_MAP_DELOCK_61959              "rc-delock-61959"
2368c2ecf20Sopenharmony_ci#define RC_MAP_DIB0700_NEC_TABLE         "rc-dib0700-nec"
2378c2ecf20Sopenharmony_ci#define RC_MAP_DIB0700_RC5_TABLE         "rc-dib0700-rc5"
2388c2ecf20Sopenharmony_ci#define RC_MAP_DIGITALNOW_TINYTWIN       "rc-digitalnow-tinytwin"
2398c2ecf20Sopenharmony_ci#define RC_MAP_DIGITTRADE                "rc-digittrade"
2408c2ecf20Sopenharmony_ci#define RC_MAP_DM1105_NEC                "rc-dm1105-nec"
2418c2ecf20Sopenharmony_ci#define RC_MAP_DNTV_LIVE_DVB_T           "rc-dntv-live-dvb-t"
2428c2ecf20Sopenharmony_ci#define RC_MAP_DNTV_LIVE_DVBT_PRO        "rc-dntv-live-dvbt-pro"
2438c2ecf20Sopenharmony_ci#define RC_MAP_DTT200U                   "rc-dtt200u"
2448c2ecf20Sopenharmony_ci#define RC_MAP_DVBSKY                    "rc-dvbsky"
2458c2ecf20Sopenharmony_ci#define RC_MAP_DVICO_MCE		 "rc-dvico-mce"
2468c2ecf20Sopenharmony_ci#define RC_MAP_DVICO_PORTABLE		 "rc-dvico-portable"
2478c2ecf20Sopenharmony_ci#define RC_MAP_EMPTY                     "rc-empty"
2488c2ecf20Sopenharmony_ci#define RC_MAP_EM_TERRATEC               "rc-em-terratec"
2498c2ecf20Sopenharmony_ci#define RC_MAP_ENCORE_ENLTV              "rc-encore-enltv"
2508c2ecf20Sopenharmony_ci#define RC_MAP_ENCORE_ENLTV2             "rc-encore-enltv2"
2518c2ecf20Sopenharmony_ci#define RC_MAP_ENCORE_ENLTV_FM53         "rc-encore-enltv-fm53"
2528c2ecf20Sopenharmony_ci#define RC_MAP_EVGA_INDTUBE              "rc-evga-indtube"
2538c2ecf20Sopenharmony_ci#define RC_MAP_EZTV                      "rc-eztv"
2548c2ecf20Sopenharmony_ci#define RC_MAP_FLYDVB                    "rc-flydvb"
2558c2ecf20Sopenharmony_ci#define RC_MAP_FLYVIDEO                  "rc-flyvideo"
2568c2ecf20Sopenharmony_ci#define RC_MAP_FUSIONHDTV_MCE            "rc-fusionhdtv-mce"
2578c2ecf20Sopenharmony_ci#define RC_MAP_GADMEI_RM008Z             "rc-gadmei-rm008z"
2588c2ecf20Sopenharmony_ci#define RC_MAP_GEEKBOX                   "rc-geekbox"
2598c2ecf20Sopenharmony_ci#define RC_MAP_GENIUS_TVGO_A11MCE        "rc-genius-tvgo-a11mce"
2608c2ecf20Sopenharmony_ci#define RC_MAP_GOTVIEW7135               "rc-gotview7135"
2618c2ecf20Sopenharmony_ci#define RC_MAP_HAUPPAUGE                 "rc-hauppauge"
2628c2ecf20Sopenharmony_ci#define RC_MAP_HAUPPAUGE_NEW             "rc-hauppauge"
2638c2ecf20Sopenharmony_ci#define RC_MAP_HISI_POPLAR               "rc-hisi-poplar"
2648c2ecf20Sopenharmony_ci#define RC_MAP_HISI_TV_DEMO              "rc-hisi-tv-demo"
2658c2ecf20Sopenharmony_ci#define RC_MAP_IMON_MCE                  "rc-imon-mce"
2668c2ecf20Sopenharmony_ci#define RC_MAP_IMON_PAD                  "rc-imon-pad"
2678c2ecf20Sopenharmony_ci#define RC_MAP_IMON_RSC                  "rc-imon-rsc"
2688c2ecf20Sopenharmony_ci#define RC_MAP_IODATA_BCTV7E             "rc-iodata-bctv7e"
2698c2ecf20Sopenharmony_ci#define RC_MAP_IT913X_V1                 "rc-it913x-v1"
2708c2ecf20Sopenharmony_ci#define RC_MAP_IT913X_V2                 "rc-it913x-v2"
2718c2ecf20Sopenharmony_ci#define RC_MAP_KAIOMY                    "rc-kaiomy"
2728c2ecf20Sopenharmony_ci#define RC_MAP_KHADAS                    "rc-khadas"
2738c2ecf20Sopenharmony_ci#define RC_MAP_KWORLD_315U               "rc-kworld-315u"
2748c2ecf20Sopenharmony_ci#define RC_MAP_KWORLD_PC150U             "rc-kworld-pc150u"
2758c2ecf20Sopenharmony_ci#define RC_MAP_KWORLD_PLUS_TV_ANALOG     "rc-kworld-plus-tv-analog"
2768c2ecf20Sopenharmony_ci#define RC_MAP_LEADTEK_Y04G0051          "rc-leadtek-y04g0051"
2778c2ecf20Sopenharmony_ci#define RC_MAP_LME2510                   "rc-lme2510"
2788c2ecf20Sopenharmony_ci#define RC_MAP_MANLI                     "rc-manli"
2798c2ecf20Sopenharmony_ci#define RC_MAP_MEDION_X10                "rc-medion-x10"
2808c2ecf20Sopenharmony_ci#define RC_MAP_MEDION_X10_DIGITAINER     "rc-medion-x10-digitainer"
2818c2ecf20Sopenharmony_ci#define RC_MAP_MEDION_X10_OR2X           "rc-medion-x10-or2x"
2828c2ecf20Sopenharmony_ci#define RC_MAP_MSI_DIGIVOX_II            "rc-msi-digivox-ii"
2838c2ecf20Sopenharmony_ci#define RC_MAP_MSI_DIGIVOX_III           "rc-msi-digivox-iii"
2848c2ecf20Sopenharmony_ci#define RC_MAP_MSI_TVANYWHERE            "rc-msi-tvanywhere"
2858c2ecf20Sopenharmony_ci#define RC_MAP_MSI_TVANYWHERE_PLUS       "rc-msi-tvanywhere-plus"
2868c2ecf20Sopenharmony_ci#define RC_MAP_NEBULA                    "rc-nebula"
2878c2ecf20Sopenharmony_ci#define RC_MAP_NEC_TERRATEC_CINERGY_XS   "rc-nec-terratec-cinergy-xs"
2888c2ecf20Sopenharmony_ci#define RC_MAP_NORWOOD                   "rc-norwood"
2898c2ecf20Sopenharmony_ci#define RC_MAP_NPGTECH                   "rc-npgtech"
2908c2ecf20Sopenharmony_ci#define RC_MAP_ODROID                    "rc-odroid"
2918c2ecf20Sopenharmony_ci#define RC_MAP_PCTV_SEDNA                "rc-pctv-sedna"
2928c2ecf20Sopenharmony_ci#define RC_MAP_PINNACLE_COLOR            "rc-pinnacle-color"
2938c2ecf20Sopenharmony_ci#define RC_MAP_PINNACLE_GREY             "rc-pinnacle-grey"
2948c2ecf20Sopenharmony_ci#define RC_MAP_PINNACLE_PCTV_HD          "rc-pinnacle-pctv-hd"
2958c2ecf20Sopenharmony_ci#define RC_MAP_PIXELVIEW                 "rc-pixelview"
2968c2ecf20Sopenharmony_ci#define RC_MAP_PIXELVIEW_002T            "rc-pixelview-002t"
2978c2ecf20Sopenharmony_ci#define RC_MAP_PIXELVIEW_MK12            "rc-pixelview-mk12"
2988c2ecf20Sopenharmony_ci#define RC_MAP_PIXELVIEW_NEW             "rc-pixelview-new"
2998c2ecf20Sopenharmony_ci#define RC_MAP_POWERCOLOR_REAL_ANGEL     "rc-powercolor-real-angel"
3008c2ecf20Sopenharmony_ci#define RC_MAP_PROTEUS_2309              "rc-proteus-2309"
3018c2ecf20Sopenharmony_ci#define RC_MAP_PURPLETV                  "rc-purpletv"
3028c2ecf20Sopenharmony_ci#define RC_MAP_PV951                     "rc-pv951"
3038c2ecf20Sopenharmony_ci#define RC_MAP_RC5_TV                    "rc-rc5-tv"
3048c2ecf20Sopenharmony_ci#define RC_MAP_RC6_MCE                   "rc-rc6-mce"
3058c2ecf20Sopenharmony_ci#define RC_MAP_REAL_AUDIO_220_32_KEYS    "rc-real-audio-220-32-keys"
3068c2ecf20Sopenharmony_ci#define RC_MAP_REDDO                     "rc-reddo"
3078c2ecf20Sopenharmony_ci#define RC_MAP_SNAPSTREAM_FIREFLY        "rc-snapstream-firefly"
3088c2ecf20Sopenharmony_ci#define RC_MAP_STREAMZAP                 "rc-streamzap"
3098c2ecf20Sopenharmony_ci#define RC_MAP_SU3000                    "rc-su3000"
3108c2ecf20Sopenharmony_ci#define RC_MAP_TANGO                     "rc-tango"
3118c2ecf20Sopenharmony_ci#define RC_MAP_TANIX_TX3MINI             "rc-tanix-tx3mini"
3128c2ecf20Sopenharmony_ci#define RC_MAP_TANIX_TX5MAX              "rc-tanix-tx5max"
3138c2ecf20Sopenharmony_ci#define RC_MAP_TBS_NEC                   "rc-tbs-nec"
3148c2ecf20Sopenharmony_ci#define RC_MAP_TECHNISAT_TS35            "rc-technisat-ts35"
3158c2ecf20Sopenharmony_ci#define RC_MAP_TECHNISAT_USB2            "rc-technisat-usb2"
3168c2ecf20Sopenharmony_ci#define RC_MAP_TERRATEC_CINERGY_C_PCI    "rc-terratec-cinergy-c-pci"
3178c2ecf20Sopenharmony_ci#define RC_MAP_TERRATEC_CINERGY_S2_HD    "rc-terratec-cinergy-s2-hd"
3188c2ecf20Sopenharmony_ci#define RC_MAP_TERRATEC_CINERGY_XS       "rc-terratec-cinergy-xs"
3198c2ecf20Sopenharmony_ci#define RC_MAP_TERRATEC_SLIM             "rc-terratec-slim"
3208c2ecf20Sopenharmony_ci#define RC_MAP_TERRATEC_SLIM_2           "rc-terratec-slim-2"
3218c2ecf20Sopenharmony_ci#define RC_MAP_TEVII_NEC                 "rc-tevii-nec"
3228c2ecf20Sopenharmony_ci#define RC_MAP_TIVO                      "rc-tivo"
3238c2ecf20Sopenharmony_ci#define RC_MAP_TOTAL_MEDIA_IN_HAND       "rc-total-media-in-hand"
3248c2ecf20Sopenharmony_ci#define RC_MAP_TOTAL_MEDIA_IN_HAND_02    "rc-total-media-in-hand-02"
3258c2ecf20Sopenharmony_ci#define RC_MAP_TREKSTOR                  "rc-trekstor"
3268c2ecf20Sopenharmony_ci#define RC_MAP_TT_1500                   "rc-tt-1500"
3278c2ecf20Sopenharmony_ci#define RC_MAP_TWINHAN_DTV_CAB_CI        "rc-twinhan-dtv-cab-ci"
3288c2ecf20Sopenharmony_ci#define RC_MAP_TWINHAN_VP1027_DVBS       "rc-twinhan1027"
3298c2ecf20Sopenharmony_ci#define RC_MAP_VEGA_S9X                  "rc-vega-s9x"
3308c2ecf20Sopenharmony_ci#define RC_MAP_VIDEOMATE_K100            "rc-videomate-k100"
3318c2ecf20Sopenharmony_ci#define RC_MAP_VIDEOMATE_S350            "rc-videomate-s350"
3328c2ecf20Sopenharmony_ci#define RC_MAP_VIDEOMATE_TV_PVR          "rc-videomate-tv-pvr"
3338c2ecf20Sopenharmony_ci#define RC_MAP_KII_PRO                   "rc-videostrong-kii-pro"
3348c2ecf20Sopenharmony_ci#define RC_MAP_WETEK_HUB                 "rc-wetek-hub"
3358c2ecf20Sopenharmony_ci#define RC_MAP_WETEK_PLAY2               "rc-wetek-play2"
3368c2ecf20Sopenharmony_ci#define RC_MAP_WINFAST                   "rc-winfast"
3378c2ecf20Sopenharmony_ci#define RC_MAP_WINFAST_USBII_DELUXE      "rc-winfast-usbii-deluxe"
3388c2ecf20Sopenharmony_ci#define RC_MAP_X96MAX                    "rc-x96max"
3398c2ecf20Sopenharmony_ci#define RC_MAP_XBOX_DVD                  "rc-xbox-dvd"
3408c2ecf20Sopenharmony_ci#define RC_MAP_ZX_IRDEC                  "rc-zx-irdec"
3418c2ecf20Sopenharmony_ci
3428c2ecf20Sopenharmony_ci/*
3438c2ecf20Sopenharmony_ci * Please, do not just append newer Remote Controller names at the end.
3448c2ecf20Sopenharmony_ci * The names should be ordered in alphabetical order
3458c2ecf20Sopenharmony_ci */
3468c2ecf20Sopenharmony_ci
3478c2ecf20Sopenharmony_ci#endif /* _MEDIA_RC_MAP_H */
348