diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-04 03:08:32 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-04 03:08:32 +0000 |
commit | 594b6e2b496e69ca843b21bf04810bdb919099a7 (patch) | |
tree | 046af11c0c199fae3e41006f5aff39b4f6539f4f /apps/plugins/png/png.h | |
parent | 11ac0b3f2a7d2abc0ae6127752559b1ffafbebff (diff) | |
download | rockbox-594b6e2b496e69ca843b21bf04810bdb919099a7.tar.gz rockbox-594b6e2b496e69ca843b21bf04810bdb919099a7.zip |
Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/png/png.h')
-rw-r--r-- | apps/plugins/png/png.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/png/png.h b/apps/plugins/png/png.h index f52976eeb9..090eaa959d 100644 --- a/apps/plugins/png/png.h +++ b/apps/plugins/png/png.h | |||
@@ -301,6 +301,17 @@ You are free to name this file lodepng.cpp or lodepng.c depending on your usage. | |||
301 | #elif CONFIG_KEYPAD == ONDAVX747_PAD | 301 | #elif CONFIG_KEYPAD == ONDAVX747_PAD |
302 | #define PNG_MENU BUTTON_POWER | 302 | #define PNG_MENU BUTTON_POWER |
303 | 303 | ||
304 | #elif CONFIG_KEYPAD == SAMSUNG_YH_PAD | ||
305 | #define PNG_ZOOM_IN (BUTTON_PLAY|BUTTON_UP) | ||
306 | #define PNG_ZOOM_OUT (BUTTON_PLAY|BUTTON_DOWN) | ||
307 | #define PNG_UP BUTTON_UP | ||
308 | #define PNG_DOWN BUTTON_DOWN | ||
309 | #define PNG_LEFT BUTTON_LEFT | ||
310 | #define PNG_RIGHT BUTTON_RIGHT | ||
311 | #define PNG_MENU BUTTON_PLAY | ||
312 | #define PNG_NEXT BUTTON_FFWD | ||
313 | #define PNG_PREVIOUS BUTTON_REW | ||
314 | |||
304 | #else | 315 | #else |
305 | #error No keymap defined! | 316 | #error No keymap defined! |
306 | #endif | 317 | #endif |