162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * rc-map.h - define RC map names used by RC drivers
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2010 by Mauro Carvalho Chehab
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef _MEDIA_RC_MAP_H
962306a36Sopenharmony_ci#define _MEDIA_RC_MAP_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include <linux/input.h>
1262306a36Sopenharmony_ci#include <uapi/linux/lirc.h>
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define RC_PROTO_BIT_NONE		0ULL
1562306a36Sopenharmony_ci#define RC_PROTO_BIT_UNKNOWN		BIT_ULL(RC_PROTO_UNKNOWN)
1662306a36Sopenharmony_ci#define RC_PROTO_BIT_OTHER		BIT_ULL(RC_PROTO_OTHER)
1762306a36Sopenharmony_ci#define RC_PROTO_BIT_RC5		BIT_ULL(RC_PROTO_RC5)
1862306a36Sopenharmony_ci#define RC_PROTO_BIT_RC5X_20		BIT_ULL(RC_PROTO_RC5X_20)
1962306a36Sopenharmony_ci#define RC_PROTO_BIT_RC5_SZ		BIT_ULL(RC_PROTO_RC5_SZ)
2062306a36Sopenharmony_ci#define RC_PROTO_BIT_JVC		BIT_ULL(RC_PROTO_JVC)
2162306a36Sopenharmony_ci#define RC_PROTO_BIT_SONY12		BIT_ULL(RC_PROTO_SONY12)
2262306a36Sopenharmony_ci#define RC_PROTO_BIT_SONY15		BIT_ULL(RC_PROTO_SONY15)
2362306a36Sopenharmony_ci#define RC_PROTO_BIT_SONY20		BIT_ULL(RC_PROTO_SONY20)
2462306a36Sopenharmony_ci#define RC_PROTO_BIT_NEC		BIT_ULL(RC_PROTO_NEC)
2562306a36Sopenharmony_ci#define RC_PROTO_BIT_NECX		BIT_ULL(RC_PROTO_NECX)
2662306a36Sopenharmony_ci#define RC_PROTO_BIT_NEC32		BIT_ULL(RC_PROTO_NEC32)
2762306a36Sopenharmony_ci#define RC_PROTO_BIT_SANYO		BIT_ULL(RC_PROTO_SANYO)
2862306a36Sopenharmony_ci#define RC_PROTO_BIT_MCIR2_KBD		BIT_ULL(RC_PROTO_MCIR2_KBD)
2962306a36Sopenharmony_ci#define RC_PROTO_BIT_MCIR2_MSE		BIT_ULL(RC_PROTO_MCIR2_MSE)
3062306a36Sopenharmony_ci#define RC_PROTO_BIT_RC6_0		BIT_ULL(RC_PROTO_RC6_0)
3162306a36Sopenharmony_ci#define RC_PROTO_BIT_RC6_6A_20		BIT_ULL(RC_PROTO_RC6_6A_20)
3262306a36Sopenharmony_ci#define RC_PROTO_BIT_RC6_6A_24		BIT_ULL(RC_PROTO_RC6_6A_24)
3362306a36Sopenharmony_ci#define RC_PROTO_BIT_RC6_6A_32		BIT_ULL(RC_PROTO_RC6_6A_32)
3462306a36Sopenharmony_ci#define RC_PROTO_BIT_RC6_MCE		BIT_ULL(RC_PROTO_RC6_MCE)
3562306a36Sopenharmony_ci#define RC_PROTO_BIT_SHARP		BIT_ULL(RC_PROTO_SHARP)
3662306a36Sopenharmony_ci#define RC_PROTO_BIT_XMP		BIT_ULL(RC_PROTO_XMP)
3762306a36Sopenharmony_ci#define RC_PROTO_BIT_CEC		BIT_ULL(RC_PROTO_CEC)
3862306a36Sopenharmony_ci#define RC_PROTO_BIT_IMON		BIT_ULL(RC_PROTO_IMON)
3962306a36Sopenharmony_ci#define RC_PROTO_BIT_RCMM12		BIT_ULL(RC_PROTO_RCMM12)
4062306a36Sopenharmony_ci#define RC_PROTO_BIT_RCMM24		BIT_ULL(RC_PROTO_RCMM24)
4162306a36Sopenharmony_ci#define RC_PROTO_BIT_RCMM32		BIT_ULL(RC_PROTO_RCMM32)
4262306a36Sopenharmony_ci#define RC_PROTO_BIT_XBOX_DVD		BIT_ULL(RC_PROTO_XBOX_DVD)
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_RC5_DECODER)
4562306a36Sopenharmony_ci#define __RC_PROTO_RC5_CODEC \
4662306a36Sopenharmony_ci	(RC_PROTO_BIT_RC5 | RC_PROTO_BIT_RC5X_20 |  RC_PROTO_BIT_RC5_SZ)
4762306a36Sopenharmony_ci#else
4862306a36Sopenharmony_ci#define __RC_PROTO_RC5_CODEC 0
4962306a36Sopenharmony_ci#endif
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_JVC_DECODER)
5262306a36Sopenharmony_ci#define __RC_PROTO_JVC_CODEC RC_PROTO_BIT_JVC
5362306a36Sopenharmony_ci#else
5462306a36Sopenharmony_ci#define __RC_PROTO_JVC_CODEC 0
5562306a36Sopenharmony_ci#endif
5662306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_SONY_DECODER)
5762306a36Sopenharmony_ci#define __RC_PROTO_SONY_CODEC \
5862306a36Sopenharmony_ci	(RC_PROTO_BIT_SONY12 | RC_PROTO_BIT_SONY15 |  RC_PROTO_BIT_SONY20)
5962306a36Sopenharmony_ci#else
6062306a36Sopenharmony_ci#define __RC_PROTO_SONY_CODEC 0
6162306a36Sopenharmony_ci#endif
6262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_NEC_DECODER)
6362306a36Sopenharmony_ci#define __RC_PROTO_NEC_CODEC \
6462306a36Sopenharmony_ci	(RC_PROTO_BIT_NEC | RC_PROTO_BIT_NECX | RC_PROTO_BIT_NEC32)
6562306a36Sopenharmony_ci#else
6662306a36Sopenharmony_ci#define __RC_PROTO_NEC_CODEC 0
6762306a36Sopenharmony_ci#endif
6862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_SANYO_DECODER)
6962306a36Sopenharmony_ci#define __RC_PROTO_SANYO_CODEC RC_PROTO_BIT_SANYO
7062306a36Sopenharmony_ci#else
7162306a36Sopenharmony_ci#define __RC_PROTO_SANYO_CODEC 0
7262306a36Sopenharmony_ci#endif
7362306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_MCE_KBD_DECODER)
7462306a36Sopenharmony_ci#define __RC_PROTO_MCE_KBD_CODEC \
7562306a36Sopenharmony_ci	(RC_PROTO_BIT_MCIR2_KBD |  RC_PROTO_BIT_MCIR2_MSE)
7662306a36Sopenharmony_ci#else
7762306a36Sopenharmony_ci#define __RC_PROTO_MCE_KBD_CODEC 0
7862306a36Sopenharmony_ci#endif
7962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_RC6_DECODER)
8062306a36Sopenharmony_ci#define __RC_PROTO_RC6_CODEC \
8162306a36Sopenharmony_ci	(RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \
8262306a36Sopenharmony_ci	 RC_PROTO_BIT_RC6_6A_24 |  RC_PROTO_BIT_RC6_6A_32 | \
8362306a36Sopenharmony_ci	 RC_PROTO_BIT_RC6_MCE)
8462306a36Sopenharmony_ci#else
8562306a36Sopenharmony_ci#define __RC_PROTO_RC6_CODEC 0
8662306a36Sopenharmony_ci#endif
8762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_SHARP_DECODER)
8862306a36Sopenharmony_ci#define __RC_PROTO_SHARP_CODEC RC_PROTO_BIT_SHARP
8962306a36Sopenharmony_ci#else
9062306a36Sopenharmony_ci#define __RC_PROTO_SHARP_CODEC 0
9162306a36Sopenharmony_ci#endif
9262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_XMP_DECODER)
9362306a36Sopenharmony_ci#define __RC_PROTO_XMP_CODEC RC_PROTO_BIT_XMP
9462306a36Sopenharmony_ci#else
9562306a36Sopenharmony_ci#define __RC_PROTO_XMP_CODEC 0
9662306a36Sopenharmony_ci#endif
9762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_IMON_DECODER)
9862306a36Sopenharmony_ci#define __RC_PROTO_IMON_CODEC RC_PROTO_BIT_IMON
9962306a36Sopenharmony_ci#else
10062306a36Sopenharmony_ci#define __RC_PROTO_IMON_CODEC 0
10162306a36Sopenharmony_ci#endif
10262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IR_RCMM_DECODER)
10362306a36Sopenharmony_ci#define __RC_PROTO_RCMM_CODEC \
10462306a36Sopenharmony_ci	(RC_PROTO_BIT_RCMM12 | RC_PROTO_BIT_RCMM24 | RC_PROTO_BIT_RCMM32)
10562306a36Sopenharmony_ci#else
10662306a36Sopenharmony_ci#define __RC_PROTO_RCMM_CODEC 0
10762306a36Sopenharmony_ci#endif
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_ci/* All kernel-based codecs have encoders and decoders */
11062306a36Sopenharmony_ci#define RC_PROTO_BIT_ALL_IR_DECODER \
11162306a36Sopenharmony_ci	(__RC_PROTO_RC5_CODEC | __RC_PROTO_JVC_CODEC | __RC_PROTO_SONY_CODEC | \
11262306a36Sopenharmony_ci	 __RC_PROTO_NEC_CODEC | __RC_PROTO_SANYO_CODEC | \
11362306a36Sopenharmony_ci	 __RC_PROTO_MCE_KBD_CODEC | __RC_PROTO_RC6_CODEC | \
11462306a36Sopenharmony_ci	 __RC_PROTO_SHARP_CODEC | __RC_PROTO_XMP_CODEC | \
11562306a36Sopenharmony_ci	 __RC_PROTO_IMON_CODEC | __RC_PROTO_RCMM_CODEC)
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci#define RC_PROTO_BIT_ALL_IR_ENCODER \
11862306a36Sopenharmony_ci	(__RC_PROTO_RC5_CODEC | __RC_PROTO_JVC_CODEC | __RC_PROTO_SONY_CODEC | \
11962306a36Sopenharmony_ci	 __RC_PROTO_NEC_CODEC | __RC_PROTO_SANYO_CODEC | \
12062306a36Sopenharmony_ci	 __RC_PROTO_MCE_KBD_CODEC | __RC_PROTO_RC6_CODEC | \
12162306a36Sopenharmony_ci	 __RC_PROTO_SHARP_CODEC | __RC_PROTO_XMP_CODEC | \
12262306a36Sopenharmony_ci	 __RC_PROTO_IMON_CODEC | __RC_PROTO_RCMM_CODEC)
12362306a36Sopenharmony_ci
12462306a36Sopenharmony_ci#define RC_SCANCODE_UNKNOWN(x)			(x)
12562306a36Sopenharmony_ci#define RC_SCANCODE_OTHER(x)			(x)
12662306a36Sopenharmony_ci#define RC_SCANCODE_NEC(addr, cmd)		(((addr) << 8) | (cmd))
12762306a36Sopenharmony_ci#define RC_SCANCODE_NECX(addr, cmd)		(((addr) << 8) | (cmd))
12862306a36Sopenharmony_ci#define RC_SCANCODE_NEC32(data)			((data) & 0xffffffff)
12962306a36Sopenharmony_ci#define RC_SCANCODE_RC5(sys, cmd)		(((sys) << 8) | (cmd))
13062306a36Sopenharmony_ci#define RC_SCANCODE_RC5_SZ(sys, cmd)		(((sys) << 8) | (cmd))
13162306a36Sopenharmony_ci#define RC_SCANCODE_RC6_0(sys, cmd)		(((sys) << 8) | (cmd))
13262306a36Sopenharmony_ci#define RC_SCANCODE_RC6_6A(vendor, sys, cmd)	(((vendor) << 16) | ((sys) << 8) | (cmd))
13362306a36Sopenharmony_ci
13462306a36Sopenharmony_ci/**
13562306a36Sopenharmony_ci * struct rc_map_table - represents a scancode/keycode pair
13662306a36Sopenharmony_ci *
13762306a36Sopenharmony_ci * @scancode: scan code (u64)
13862306a36Sopenharmony_ci * @keycode: Linux input keycode
13962306a36Sopenharmony_ci */
14062306a36Sopenharmony_cistruct rc_map_table {
14162306a36Sopenharmony_ci	u64	scancode;
14262306a36Sopenharmony_ci	u32	keycode;
14362306a36Sopenharmony_ci};
14462306a36Sopenharmony_ci
14562306a36Sopenharmony_ci/**
14662306a36Sopenharmony_ci * struct rc_map - represents a keycode map table
14762306a36Sopenharmony_ci *
14862306a36Sopenharmony_ci * @scan: pointer to struct &rc_map_table
14962306a36Sopenharmony_ci * @size: Max number of entries
15062306a36Sopenharmony_ci * @len: Number of entries that are in use
15162306a36Sopenharmony_ci * @alloc: size of \*scan, in bytes
15262306a36Sopenharmony_ci * @rc_proto: type of the remote controller protocol, as defined at
15362306a36Sopenharmony_ci *	     enum &rc_proto
15462306a36Sopenharmony_ci * @name: name of the key map table
15562306a36Sopenharmony_ci * @lock: lock to protect access to this structure
15662306a36Sopenharmony_ci */
15762306a36Sopenharmony_cistruct rc_map {
15862306a36Sopenharmony_ci	struct rc_map_table	*scan;
15962306a36Sopenharmony_ci	unsigned int		size;
16062306a36Sopenharmony_ci	unsigned int		len;
16162306a36Sopenharmony_ci	unsigned int		alloc;
16262306a36Sopenharmony_ci	enum rc_proto		rc_proto;
16362306a36Sopenharmony_ci	const char		*name;
16462306a36Sopenharmony_ci	spinlock_t		lock;
16562306a36Sopenharmony_ci};
16662306a36Sopenharmony_ci
16762306a36Sopenharmony_ci/**
16862306a36Sopenharmony_ci * struct rc_map_list - list of the registered &rc_map maps
16962306a36Sopenharmony_ci *
17062306a36Sopenharmony_ci * @list: pointer to struct &list_head
17162306a36Sopenharmony_ci * @map: pointer to struct &rc_map
17262306a36Sopenharmony_ci */
17362306a36Sopenharmony_cistruct rc_map_list {
17462306a36Sopenharmony_ci	struct list_head	 list;
17562306a36Sopenharmony_ci	struct rc_map map;
17662306a36Sopenharmony_ci};
17762306a36Sopenharmony_ci
17862306a36Sopenharmony_ci#ifdef CONFIG_MEDIA_CEC_RC
17962306a36Sopenharmony_ci/*
18062306a36Sopenharmony_ci * rc_map_list from rc-cec.c
18162306a36Sopenharmony_ci */
18262306a36Sopenharmony_ciextern struct rc_map_list cec_map;
18362306a36Sopenharmony_ci#endif
18462306a36Sopenharmony_ci
18562306a36Sopenharmony_ci/* Routines from rc-map.c */
18662306a36Sopenharmony_ci
18762306a36Sopenharmony_ci/**
18862306a36Sopenharmony_ci * rc_map_register() - Registers a Remote Controller scancode map
18962306a36Sopenharmony_ci *
19062306a36Sopenharmony_ci * @map:	pointer to struct rc_map_list
19162306a36Sopenharmony_ci */
19262306a36Sopenharmony_ciint rc_map_register(struct rc_map_list *map);
19362306a36Sopenharmony_ci
19462306a36Sopenharmony_ci/**
19562306a36Sopenharmony_ci * rc_map_unregister() - Unregisters a Remote Controller scancode map
19662306a36Sopenharmony_ci *
19762306a36Sopenharmony_ci * @map:	pointer to struct rc_map_list
19862306a36Sopenharmony_ci */
19962306a36Sopenharmony_civoid rc_map_unregister(struct rc_map_list *map);
20062306a36Sopenharmony_ci
20162306a36Sopenharmony_ci/**
20262306a36Sopenharmony_ci * rc_map_get - gets an RC map from its name
20362306a36Sopenharmony_ci * @name: name of the RC scancode map
20462306a36Sopenharmony_ci */
20562306a36Sopenharmony_cistruct rc_map *rc_map_get(const char *name);
20662306a36Sopenharmony_ci
20762306a36Sopenharmony_ci/* Names of the several keytables defined in-kernel */
20862306a36Sopenharmony_ci
20962306a36Sopenharmony_ci#define RC_MAP_ADSTECH_DVB_T_PCI         "rc-adstech-dvb-t-pci"
21062306a36Sopenharmony_ci#define RC_MAP_ALINK_DTU_M               "rc-alink-dtu-m"
21162306a36Sopenharmony_ci#define RC_MAP_ANYSEE                    "rc-anysee"
21262306a36Sopenharmony_ci#define RC_MAP_APAC_VIEWCOMP             "rc-apac-viewcomp"
21362306a36Sopenharmony_ci#define RC_MAP_ASTROMETA_T2HYBRID        "rc-astrometa-t2hybrid"
21462306a36Sopenharmony_ci#define RC_MAP_ASUS_PC39                 "rc-asus-pc39"
21562306a36Sopenharmony_ci#define RC_MAP_ASUS_PS3_100              "rc-asus-ps3-100"
21662306a36Sopenharmony_ci#define RC_MAP_ATI_TV_WONDER_HD_600      "rc-ati-tv-wonder-hd-600"
21762306a36Sopenharmony_ci#define RC_MAP_ATI_X10                   "rc-ati-x10"
21862306a36Sopenharmony_ci#define RC_MAP_AVERMEDIA                 "rc-avermedia"
21962306a36Sopenharmony_ci#define RC_MAP_AVERMEDIA_A16D            "rc-avermedia-a16d"
22062306a36Sopenharmony_ci#define RC_MAP_AVERMEDIA_CARDBUS         "rc-avermedia-cardbus"
22162306a36Sopenharmony_ci#define RC_MAP_AVERMEDIA_DVBT            "rc-avermedia-dvbt"
22262306a36Sopenharmony_ci#define RC_MAP_AVERMEDIA_M135A           "rc-avermedia-m135a"
22362306a36Sopenharmony_ci#define RC_MAP_AVERMEDIA_M733A_RM_K6     "rc-avermedia-m733a-rm-k6"
22462306a36Sopenharmony_ci#define RC_MAP_AVERMEDIA_RM_KS           "rc-avermedia-rm-ks"
22562306a36Sopenharmony_ci#define RC_MAP_AVERTV_303                "rc-avertv-303"
22662306a36Sopenharmony_ci#define RC_MAP_AZUREWAVE_AD_TU700        "rc-azurewave-ad-tu700"
22762306a36Sopenharmony_ci#define RC_MAP_BEELINK_GS1               "rc-beelink-gs1"
22862306a36Sopenharmony_ci#define RC_MAP_BEELINK_MXIII             "rc-beelink-mxiii"
22962306a36Sopenharmony_ci#define RC_MAP_BEHOLD                    "rc-behold"
23062306a36Sopenharmony_ci#define RC_MAP_BEHOLD_COLUMBUS           "rc-behold-columbus"
23162306a36Sopenharmony_ci#define RC_MAP_BUDGET_CI_OLD             "rc-budget-ci-old"
23262306a36Sopenharmony_ci#define RC_MAP_CEC                       "rc-cec"
23362306a36Sopenharmony_ci#define RC_MAP_CINERGY                   "rc-cinergy"
23462306a36Sopenharmony_ci#define RC_MAP_CINERGY_1400              "rc-cinergy-1400"
23562306a36Sopenharmony_ci#define RC_MAP_CT_90405                  "rc-ct-90405"
23662306a36Sopenharmony_ci#define RC_MAP_D680_DMB                  "rc-d680-dmb"
23762306a36Sopenharmony_ci#define RC_MAP_DELOCK_61959              "rc-delock-61959"
23862306a36Sopenharmony_ci#define RC_MAP_DIB0700_NEC_TABLE         "rc-dib0700-nec"
23962306a36Sopenharmony_ci#define RC_MAP_DIB0700_RC5_TABLE         "rc-dib0700-rc5"
24062306a36Sopenharmony_ci#define RC_MAP_DIGITALNOW_TINYTWIN       "rc-digitalnow-tinytwin"
24162306a36Sopenharmony_ci#define RC_MAP_DIGITTRADE                "rc-digittrade"
24262306a36Sopenharmony_ci#define RC_MAP_DM1105_NEC                "rc-dm1105-nec"
24362306a36Sopenharmony_ci#define RC_MAP_DNTV_LIVE_DVB_T           "rc-dntv-live-dvb-t"
24462306a36Sopenharmony_ci#define RC_MAP_DNTV_LIVE_DVBT_PRO        "rc-dntv-live-dvbt-pro"
24562306a36Sopenharmony_ci#define RC_MAP_DREAMBOX                  "rc-dreambox"
24662306a36Sopenharmony_ci#define RC_MAP_DTT200U                   "rc-dtt200u"
24762306a36Sopenharmony_ci#define RC_MAP_DVBSKY                    "rc-dvbsky"
24862306a36Sopenharmony_ci#define RC_MAP_DVICO_MCE		 "rc-dvico-mce"
24962306a36Sopenharmony_ci#define RC_MAP_DVICO_PORTABLE		 "rc-dvico-portable"
25062306a36Sopenharmony_ci#define RC_MAP_EMPTY                     "rc-empty"
25162306a36Sopenharmony_ci#define RC_MAP_EM_TERRATEC               "rc-em-terratec"
25262306a36Sopenharmony_ci#define RC_MAP_ENCORE_ENLTV              "rc-encore-enltv"
25362306a36Sopenharmony_ci#define RC_MAP_ENCORE_ENLTV2             "rc-encore-enltv2"
25462306a36Sopenharmony_ci#define RC_MAP_ENCORE_ENLTV_FM53         "rc-encore-enltv-fm53"
25562306a36Sopenharmony_ci#define RC_MAP_EVGA_INDTUBE              "rc-evga-indtube"
25662306a36Sopenharmony_ci#define RC_MAP_EZTV                      "rc-eztv"
25762306a36Sopenharmony_ci#define RC_MAP_FLYDVB                    "rc-flydvb"
25862306a36Sopenharmony_ci#define RC_MAP_FLYVIDEO                  "rc-flyvideo"
25962306a36Sopenharmony_ci#define RC_MAP_FUSIONHDTV_MCE            "rc-fusionhdtv-mce"
26062306a36Sopenharmony_ci#define RC_MAP_GADMEI_RM008Z             "rc-gadmei-rm008z"
26162306a36Sopenharmony_ci#define RC_MAP_GEEKBOX                   "rc-geekbox"
26262306a36Sopenharmony_ci#define RC_MAP_GENIUS_TVGO_A11MCE        "rc-genius-tvgo-a11mce"
26362306a36Sopenharmony_ci#define RC_MAP_GOTVIEW7135               "rc-gotview7135"
26462306a36Sopenharmony_ci#define RC_MAP_HAUPPAUGE                 "rc-hauppauge"
26562306a36Sopenharmony_ci#define RC_MAP_HAUPPAUGE_NEW             "rc-hauppauge"
26662306a36Sopenharmony_ci#define RC_MAP_HISI_POPLAR               "rc-hisi-poplar"
26762306a36Sopenharmony_ci#define RC_MAP_HISI_TV_DEMO              "rc-hisi-tv-demo"
26862306a36Sopenharmony_ci#define RC_MAP_IMON_MCE                  "rc-imon-mce"
26962306a36Sopenharmony_ci#define RC_MAP_IMON_PAD                  "rc-imon-pad"
27062306a36Sopenharmony_ci#define RC_MAP_IMON_RSC                  "rc-imon-rsc"
27162306a36Sopenharmony_ci#define RC_MAP_IODATA_BCTV7E             "rc-iodata-bctv7e"
27262306a36Sopenharmony_ci#define RC_MAP_IT913X_V1                 "rc-it913x-v1"
27362306a36Sopenharmony_ci#define RC_MAP_IT913X_V2                 "rc-it913x-v2"
27462306a36Sopenharmony_ci#define RC_MAP_KAIOMY                    "rc-kaiomy"
27562306a36Sopenharmony_ci#define RC_MAP_KHADAS                    "rc-khadas"
27662306a36Sopenharmony_ci#define RC_MAP_KHAMSIN                   "rc-khamsin"
27762306a36Sopenharmony_ci#define RC_MAP_KWORLD_315U               "rc-kworld-315u"
27862306a36Sopenharmony_ci#define RC_MAP_KWORLD_PC150U             "rc-kworld-pc150u"
27962306a36Sopenharmony_ci#define RC_MAP_KWORLD_PLUS_TV_ANALOG     "rc-kworld-plus-tv-analog"
28062306a36Sopenharmony_ci#define RC_MAP_LEADTEK_Y04G0051          "rc-leadtek-y04g0051"
28162306a36Sopenharmony_ci#define RC_MAP_LME2510                   "rc-lme2510"
28262306a36Sopenharmony_ci#define RC_MAP_MANLI                     "rc-manli"
28362306a36Sopenharmony_ci#define RC_MAP_MECOOL_KII_PRO            "rc-mecool-kii-pro"
28462306a36Sopenharmony_ci#define RC_MAP_MECOOL_KIII_PRO           "rc-mecool-kiii-pro"
28562306a36Sopenharmony_ci#define RC_MAP_MEDION_X10                "rc-medion-x10"
28662306a36Sopenharmony_ci#define RC_MAP_MEDION_X10_DIGITAINER     "rc-medion-x10-digitainer"
28762306a36Sopenharmony_ci#define RC_MAP_MEDION_X10_OR2X           "rc-medion-x10-or2x"
28862306a36Sopenharmony_ci#define RC_MAP_MINIX_NEO                 "rc-minix-neo"
28962306a36Sopenharmony_ci#define RC_MAP_MSI_DIGIVOX_II            "rc-msi-digivox-ii"
29062306a36Sopenharmony_ci#define RC_MAP_MSI_DIGIVOX_III           "rc-msi-digivox-iii"
29162306a36Sopenharmony_ci#define RC_MAP_MSI_TVANYWHERE            "rc-msi-tvanywhere"
29262306a36Sopenharmony_ci#define RC_MAP_MSI_TVANYWHERE_PLUS       "rc-msi-tvanywhere-plus"
29362306a36Sopenharmony_ci#define RC_MAP_NEBULA                    "rc-nebula"
29462306a36Sopenharmony_ci#define RC_MAP_NEC_TERRATEC_CINERGY_XS   "rc-nec-terratec-cinergy-xs"
29562306a36Sopenharmony_ci#define RC_MAP_NORWOOD                   "rc-norwood"
29662306a36Sopenharmony_ci#define RC_MAP_NPGTECH                   "rc-npgtech"
29762306a36Sopenharmony_ci#define RC_MAP_ODROID                    "rc-odroid"
29862306a36Sopenharmony_ci#define RC_MAP_PCTV_SEDNA                "rc-pctv-sedna"
29962306a36Sopenharmony_ci#define RC_MAP_PINE64                    "rc-pine64"
30062306a36Sopenharmony_ci#define RC_MAP_PINNACLE_COLOR            "rc-pinnacle-color"
30162306a36Sopenharmony_ci#define RC_MAP_PINNACLE_GREY             "rc-pinnacle-grey"
30262306a36Sopenharmony_ci#define RC_MAP_PINNACLE_PCTV_HD          "rc-pinnacle-pctv-hd"
30362306a36Sopenharmony_ci#define RC_MAP_PIXELVIEW                 "rc-pixelview"
30462306a36Sopenharmony_ci#define RC_MAP_PIXELVIEW_002T            "rc-pixelview-002t"
30562306a36Sopenharmony_ci#define RC_MAP_PIXELVIEW_MK12            "rc-pixelview-mk12"
30662306a36Sopenharmony_ci#define RC_MAP_PIXELVIEW_NEW             "rc-pixelview-new"
30762306a36Sopenharmony_ci#define RC_MAP_POWERCOLOR_REAL_ANGEL     "rc-powercolor-real-angel"
30862306a36Sopenharmony_ci#define RC_MAP_PROTEUS_2309              "rc-proteus-2309"
30962306a36Sopenharmony_ci#define RC_MAP_PURPLETV                  "rc-purpletv"
31062306a36Sopenharmony_ci#define RC_MAP_PV951                     "rc-pv951"
31162306a36Sopenharmony_ci#define RC_MAP_RC5_TV                    "rc-rc5-tv"
31262306a36Sopenharmony_ci#define RC_MAP_RC6_MCE                   "rc-rc6-mce"
31362306a36Sopenharmony_ci#define RC_MAP_REAL_AUDIO_220_32_KEYS    "rc-real-audio-220-32-keys"
31462306a36Sopenharmony_ci#define RC_MAP_REDDO                     "rc-reddo"
31562306a36Sopenharmony_ci#define RC_MAP_SNAPSTREAM_FIREFLY        "rc-snapstream-firefly"
31662306a36Sopenharmony_ci#define RC_MAP_STREAMZAP                 "rc-streamzap"
31762306a36Sopenharmony_ci#define RC_MAP_SU3000                    "rc-su3000"
31862306a36Sopenharmony_ci#define RC_MAP_TANIX_TX3MINI             "rc-tanix-tx3mini"
31962306a36Sopenharmony_ci#define RC_MAP_TANIX_TX5MAX              "rc-tanix-tx5max"
32062306a36Sopenharmony_ci#define RC_MAP_TBS_NEC                   "rc-tbs-nec"
32162306a36Sopenharmony_ci#define RC_MAP_TECHNISAT_TS35            "rc-technisat-ts35"
32262306a36Sopenharmony_ci#define RC_MAP_TECHNISAT_USB2            "rc-technisat-usb2"
32362306a36Sopenharmony_ci#define RC_MAP_TERRATEC_CINERGY_C_PCI    "rc-terratec-cinergy-c-pci"
32462306a36Sopenharmony_ci#define RC_MAP_TERRATEC_CINERGY_S2_HD    "rc-terratec-cinergy-s2-hd"
32562306a36Sopenharmony_ci#define RC_MAP_TERRATEC_CINERGY_XS       "rc-terratec-cinergy-xs"
32662306a36Sopenharmony_ci#define RC_MAP_TERRATEC_SLIM             "rc-terratec-slim"
32762306a36Sopenharmony_ci#define RC_MAP_TERRATEC_SLIM_2           "rc-terratec-slim-2"
32862306a36Sopenharmony_ci#define RC_MAP_TEVII_NEC                 "rc-tevii-nec"
32962306a36Sopenharmony_ci#define RC_MAP_TIVO                      "rc-tivo"
33062306a36Sopenharmony_ci#define RC_MAP_TOTAL_MEDIA_IN_HAND       "rc-total-media-in-hand"
33162306a36Sopenharmony_ci#define RC_MAP_TOTAL_MEDIA_IN_HAND_02    "rc-total-media-in-hand-02"
33262306a36Sopenharmony_ci#define RC_MAP_TREKSTOR                  "rc-trekstor"
33362306a36Sopenharmony_ci#define RC_MAP_TT_1500                   "rc-tt-1500"
33462306a36Sopenharmony_ci#define RC_MAP_TWINHAN_DTV_CAB_CI        "rc-twinhan-dtv-cab-ci"
33562306a36Sopenharmony_ci#define RC_MAP_TWINHAN_VP1027_DVBS       "rc-twinhan1027"
33662306a36Sopenharmony_ci#define RC_MAP_VEGA_S9X                  "rc-vega-s9x"
33762306a36Sopenharmony_ci#define RC_MAP_VIDEOMATE_K100            "rc-videomate-k100"
33862306a36Sopenharmony_ci#define RC_MAP_VIDEOMATE_S350            "rc-videomate-s350"
33962306a36Sopenharmony_ci#define RC_MAP_VIDEOMATE_TV_PVR          "rc-videomate-tv-pvr"
34062306a36Sopenharmony_ci#define RC_MAP_KII_PRO                   "rc-videostrong-kii-pro"
34162306a36Sopenharmony_ci#define RC_MAP_WETEK_HUB                 "rc-wetek-hub"
34262306a36Sopenharmony_ci#define RC_MAP_WETEK_PLAY2               "rc-wetek-play2"
34362306a36Sopenharmony_ci#define RC_MAP_WINFAST                   "rc-winfast"
34462306a36Sopenharmony_ci#define RC_MAP_WINFAST_USBII_DELUXE      "rc-winfast-usbii-deluxe"
34562306a36Sopenharmony_ci#define RC_MAP_X96MAX                    "rc-x96max"
34662306a36Sopenharmony_ci#define RC_MAP_XBOX_360                  "rc-xbox-360"
34762306a36Sopenharmony_ci#define RC_MAP_XBOX_DVD                  "rc-xbox-dvd"
34862306a36Sopenharmony_ci#define RC_MAP_ZX_IRDEC                  "rc-zx-irdec"
34962306a36Sopenharmony_ci
35062306a36Sopenharmony_ci/*
35162306a36Sopenharmony_ci * Please, do not just append newer Remote Controller names at the end.
35262306a36Sopenharmony_ci * The names should be ordered in alphabetical order
35362306a36Sopenharmony_ci */
35462306a36Sopenharmony_ci
35562306a36Sopenharmony_ci#endif /* _MEDIA_RC_MAP_H */
356