diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-03 18:17:11 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-09 12:41:18 -0400 |
commit | aabc8aca47e60cf745a34af28c50679fcb967910 (patch) | |
tree | cfe17f546aae9785fb13482f39527e2da0597ccb /apps/plugins/imageviewer | |
parent | 4231c2c83f2b5331e3e38b10a308ee3752315f9c (diff) | |
download | rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.tar.gz rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.zip |
New port: FiiO M3K
Most credit goes to: Roman Skylarov
Additional integration and refactoring by myself.
*** COMPLETELY UNTESTED ***
Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
Diffstat (limited to 'apps/plugins/imageviewer')
-rw-r--r-- | apps/plugins/imageviewer/imageviewer_button.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/imageviewer_button.h b/apps/plugins/imageviewer/imageviewer_button.h index 7aa96023c6..e637a09ca9 100644 --- a/apps/plugins/imageviewer/imageviewer_button.h +++ b/apps/plugins/imageviewer/imageviewer_button.h | |||
@@ -506,6 +506,21 @@ | |||
506 | #define IMGVIEW_MENU BUTTON_POWER | 506 | #define IMGVIEW_MENU BUTTON_POWER |
507 | #define IMGVIEW_SLIDE_SHOW (BUTTON_HOME|BUTTON_POWER) | 507 | #define IMGVIEW_SLIDE_SHOW (BUTTON_HOME|BUTTON_POWER) |
508 | 508 | ||
509 | #elif CONFIG_KEYPAD == FIIO_M3K_PAD | ||
510 | #define IMGVIEW_ZOOM_PRE BUTTON_PLAY | ||
511 | #define IMGVIEW_ZOOM_IN (BUTTON_PLAY | BUTTON_REL) | ||
512 | #define IMGVIEW_ZOOM_OUT (BUTTON_PLAY | BUTTON_REPEAT) | ||
513 | #define IMGVIEW_UP BUTTON_HOME | ||
514 | #define IMGVIEW_DOWN BUTTON_OPTION | ||
515 | #define IMGVIEW_LEFT BUTTON_PREV | ||
516 | #define IMGVIEW_RIGHT BUTTON_NEXT | ||
517 | #define IMGVIEW_NEXT BUTTON_VOL_UP | ||
518 | #define IMGVIEW_NEXT_REPEAT (BUTTON_VOL_UP|BUTTON_REPEAT) | ||
519 | #define IMGVIEW_PREVIOUS BUTTON_VOL_DOWN | ||
520 | #define IMGVIEW_PREVIOUS_REPEAT (BUTTON_VOL_DOWN|BUTTON_REPEAT) | ||
521 | #define IMGVIEW_MENU BUTTON_POWER | ||
522 | #define IMGVIEW_SLIDE_SHOW (BUTTON_HOME|BUTTON_POWER) | ||
523 | |||
509 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 524 | #elif CONFIG_KEYPAD == IHIFI_770_PAD |
510 | #define IMGVIEW_ZOOM_PRE BUTTON_PLAY | 525 | #define IMGVIEW_ZOOM_PRE BUTTON_PLAY |
511 | #define IMGVIEW_ZOOM_IN (BUTTON_PLAY | BUTTON_REL) | 526 | #define IMGVIEW_ZOOM_IN (BUTTON_PLAY | BUTTON_REL) |