Revert tab police as it makes merging upstream changes more annoying and messed up...
[kugel-rb.git] / firmware / target / arm / debug-target.h
blob4408acf5daf150cffe5fcaf04bc01f73467081b3
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2010 by Marcin Bukat
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
21 #if (CONFIG_KEYPAD == IPOD_1G2G_PAD) || \
22 (CONFIG_KEYPAD == IPOD_3G_PAD) || \
23 (CONFIG_KEYPAD == IPOD_4G_PAD)
24 # define DEBUG_CANCEL BUTTON_MENU
26 #elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
27 # define DEBUG_CANCEL BUTTON_REW
29 #elif (CONFIG_KEYPAD == MROBE100_PAD)
30 # define DEBUG_CANCEL BUTTON_MENU
32 #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
33 (CONFIG_KEYPAD == SANSA_C200_PAD)
34 # define DEBUG_CANCEL BUTTON_LEFT
36 #elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) || \
37 (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD)
38 # define DEBUG_CANCEL BUTTON_POWER
40 #elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD)
41 # define DEBUG_CANCEL BUTTON_PREV
43 #elif (CONFIG_KEYPAD == SAMSUNG_YH_PAD)
44 # define DEBUG_CANCEL BUTTON_PLAY
46 #elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
47 # define DEBUG_CANCEL BUTTON_CANCEL
48 #endif
49 bool dbg_ports(void);