diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-05-23 14:10:08 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-05-23 14:10:08 +0000 |
commit | 56bd25c1cac0d0b433c3b2b5b4e075319b4aa324 (patch) | |
tree | 9ce3944acd48cd1bca09e0e422d71d6ef8e63c6e /meta-openmoko/packages/openmoko2/neod/ipaq.patch | |
parent | fb8af86c44daed3714b0ee1c611c74a736b0823d (diff) | |
download | poky-56bd25c1cac0d0b433c3b2b5b4e075319b4aa324.tar.gz |
openmoko: merge with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4552 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko/packages/openmoko2/neod/ipaq.patch')
-rw-r--r-- | meta-openmoko/packages/openmoko2/neod/ipaq.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/neod/ipaq.patch b/meta-openmoko/packages/openmoko2/neod/ipaq.patch new file mode 100644 index 0000000000..19b61ab1f5 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/neod/ipaq.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Index: neod/src/buttonactions.c | ||
2 | =================================================================== | ||
3 | --- neod.orig/src/buttonactions.c 2007-09-29 17:24:43.000000000 +0200 | ||
4 | +++ neod/src/buttonactions.c 2007-09-29 17:24:49.000000000 +0200 | ||
5 | @@ -69,6 +69,12 @@ | ||
6 | #define TOUCHSCREEN_BUTTON_KEYCODE 0x14a | ||
7 | #endif | ||
8 | |||
9 | +#ifdef NEOD_PLATFORM_IPAQ | ||
10 | + #define AUX_BUTTON_KEYCODE 89 /* _KEY_RECORD */ | ||
11 | + #define POWER_BUTTON_KEYCODE 0x74 /* KEY_POWER */ | ||
12 | + #define TOUCHSCREEN_BUTTON_KEYCODE 0x14a | ||
13 | +#endif | ||
14 | + | ||
15 | #define HEADPHONE_INSERTION_SWITCHCODE 0x02 | ||
16 | |||
17 | GPollFD input_fd[10]; | ||
18 | Index: neod/configure.ac | ||
19 | =================================================================== | ||
20 | --- neod.orig/configure.ac 2007-09-29 17:25:12.000000000 +0200 | ||
21 | +++ neod/configure.ac 2007-09-29 17:25:48.000000000 +0200 | ||
22 | @@ -36,6 +36,10 @@ | ||
23 | NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_HTC" | ||
24 | fi | ||
25 | |||
26 | +if test x"$neod_platform" = x"ipaq"; then | ||
27 | + NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_IPAQ" | ||
28 | +fi | ||
29 | + | ||
30 | CFLAGS=$NEOD_CFLAGS | ||
31 | |||
32 | AC_OUTPUT([ | ||