V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / powercolor-real-angel.h
1 /* powercolor-real-angel.h - Keytable for powercolor_real_angel Remote Controller
2  *
3  * Imported from ir-keymaps.c
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  */
10
11 /*
12  * Remote control for Powercolor Real Angel 330
13  * Daniel Fraga <fragabr@gmail.com>
14  */
15
16 #ifdef IR_KEYMAPS
17 static struct ir_scancode powercolor_real_angel[] = {
18         { 0x38, KEY_SWITCHVIDEOMODE },  /* switch inputs */
19         { 0x0c, KEY_MEDIA },            /* Turn ON/OFF App */
20         { 0x00, KEY_0 },
21         { 0x01, KEY_1 },
22         { 0x02, KEY_2 },
23         { 0x03, KEY_3 },
24         { 0x04, KEY_4 },
25         { 0x05, KEY_5 },
26         { 0x06, KEY_6 },
27         { 0x07, KEY_7 },
28         { 0x08, KEY_8 },
29         { 0x09, KEY_9 },
30         { 0x0a, KEY_DIGITS },           /* single, double, tripple digit */
31         { 0x29, KEY_PREVIOUS },         /* previous channel */
32         { 0x12, KEY_BRIGHTNESSUP },
33         { 0x13, KEY_BRIGHTNESSDOWN },
34         { 0x2b, KEY_MODE },             /* stereo/mono */
35         { 0x2c, KEY_TEXT },             /* teletext */
36         { 0x20, KEY_CHANNELUP },        /* channel up */
37         { 0x21, KEY_CHANNELDOWN },      /* channel down */
38         { 0x10, KEY_VOLUMEUP },         /* volume up */
39         { 0x11, KEY_VOLUMEDOWN },       /* volume down */
40         { 0x0d, KEY_MUTE },
41         { 0x1f, KEY_RECORD },
42         { 0x17, KEY_PLAY },
43         { 0x16, KEY_PAUSE },
44         { 0x0b, KEY_STOP },
45         { 0x27, KEY_FASTFORWARD },
46         { 0x26, KEY_REWIND },
47         { 0x1e, KEY_SEARCH },           /* autoscan */
48         { 0x0e, KEY_CAMERA },           /* snapshot */
49         { 0x2d, KEY_SETUP },
50         { 0x0f, KEY_SCREEN },           /* full screen */
51         { 0x14, KEY_RADIO },            /* FM radio */
52         { 0x25, KEY_POWER },            /* power */
53 };
54 DEFINE_LEGACY_IR_KEYTABLE(powercolor_real_angel);
55 #else
56 DECLARE_IR_KEYTABLE(powercolor_real_angel);
57 #endif