All pastes #498912 Raw Edit

Rainbyte

public text v1 · immutable
·published 2007-05-20 19:11 UTC
rendered paste body
/* Encore ENLTV-FM  - black plastic, white front cover with white glowing buttons
    Juan Pablo Sormani <sorman@gmail.com> */
IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = {

	/* Power button does nothing, neither in Windows app,
	 although it sends data (used for BIOS wakeup?) */
	[ 0x06 ] = KEY_MUTE,

	[ 0x1e ] = KEY_TV,

	[ 0x09 ] = KEY_1,
	[ 0x1d ] = KEY_2,
	[ 0x1f ] = KEY_3,
	[ 0x19 ] = KEY_4,
	[ 0x1b ] = KEY_5,
	[ 0x11 ] = KEY_6,
	[ 0x17 ] = KEY_7,
	[ 0x12 ] = KEY_8,
	[ 0x16 ] = KEY_9,
	[ 0x48 ] = KEY_0,

	[ 0x04 ] = KEY_LIST,        /* -/-- */
	[ 0x40 ] = KEY_LAST,        /* recall */

#if 0
	[ 0x4c ] = KEY_CHANNELUP,	/* UP */
	[ 0x00 ] = KEY_CHANNELDOWN,	/* DOWN */
	[ 0x0d ] = KEY_VOLUMEUP,	/* RIGHT */
	[ 0x15 ] = KEY_VOLUMEDOWN,	/* LEFT */
#else
	[ 0x4c ] = KEY_UP,
	[ 0x00 ] = KEY_DOWN,
	[ 0x0d ] = KEY_RIGHT,
	[ 0x15 ] = KEY_LEFT,
#endif

	[ 0x0a ] = KEY_SWITCHVIDEOMODE,	/* switch */

	[ 0x0c ] = KEY_MENU,
	[ 0x1c ] = KEY_ZOOM,		/* fullscreen */
	[ 0x02 ] = KEY_TUNER,		/* AV Source */

	[ 0x54 ] = KEY_RECORD,
	[ 0x4d ] = KEY_PLAY,		/* play/pause */
	[ 0x05 ] = KEY_SHUFFLE,		/* snapshot */

	[ 0x0e ] = KEY_PREVIOUS,
	[ 0x1a ] = KEY_NEXT,

	[ 0x49 ] = KEY_RED,		/* AP1 */
	[ 0x0b ] = KEY_GREEN,		/* AP2 */
	[ 0x13 ] = KEY_YELLOW,		/* AP3 */
	[ 0x50 ] = KEY_BLUE,		/* AP4 */


};

EXPORT_SYMBOL_GPL(ir_codes_encore_enltv);