summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pnx0101/iriver-ifp7xx/button-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/pnx0101/iriver-ifp7xx/button-target.h')
-rw-r--r--firmware/target/arm/pnx0101/iriver-ifp7xx/button-target.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/firmware/target/arm/pnx0101/iriver-ifp7xx/button-target.h b/firmware/target/arm/pnx0101/iriver-ifp7xx/button-target.h
deleted file mode 100644
index 6932b8956f..0000000000
--- a/firmware/target/arm/pnx0101/iriver-ifp7xx/button-target.h
+++ /dev/null
@@ -1,49 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2006 by Barry Wardell
11 *
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.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/* Custom written for the ifp7xx */
23
24#ifndef _BUTTON_TARGET_H_
25#define _BUTTON_TARGET_H_
26
27#define HAS_BUTTON_HOLD
28
29/* iriver IFP7XX specific button codes */
30
31#define BUTTON_PLAY 0x00000001
32#define BUTTON_SELECT 0x00000002
33
34#define BUTTON_LEFT 0x00000004
35#define BUTTON_RIGHT 0x00000008
36#define BUTTON_UP 0x00000010
37#define BUTTON_DOWN 0x00000020
38
39#define BUTTON_MODE 0x00000040
40#define BUTTON_EQ 0x00000080
41
42#define BUTTON_MAIN (BUTTON_PLAY|BUTTON_SELECT\
43 |BUTTON_LEFT|BUTTON_RIGHT|BUTTON_UP|BUTTON_DOWN\
44 |BUTTON_MODE|BUTTON_EQ)
45
46#define POWEROFF_BUTTON BUTTON_PLAY
47#define POWEROFF_COUNT 40
48
49#endif /* _BUTTON_TARGET_H_ */