diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/action.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/action.c b/apps/action.c index 7ec838fa7f..3d4ea9c48a 100644 --- a/apps/action.c +++ b/apps/action.c | |||
@@ -109,6 +109,10 @@ static int button_flip_horizontally(int context, int button) | |||
109 | !defined(SIMULATOR) | 109 | !defined(SIMULATOR) |
110 | | BUTTON_SCROLL_BACK | BUTTON_SCROLL_FWD | 110 | | BUTTON_SCROLL_BACK | BUTTON_SCROLL_FWD |
111 | #endif | 111 | #endif |
112 | #if defined(BUTTON_MINUS) && defined(BUTTON_PLUS) && \ | ||
113 | !defined(SIMULATOR) | ||
114 | | BUTTON_MINUS | BUTTON_PLUS | ||
115 | #endif | ||
112 | ); | 116 | ); |
113 | 117 | ||
114 | if (button & BUTTON_LEFT) | 118 | if (button & BUTTON_LEFT) |
@@ -122,6 +126,13 @@ static int button_flip_horizontally(int context, int button) | |||
122 | if (button & BUTTON_SCROLL_FWD) | 126 | if (button & BUTTON_SCROLL_FWD) |
123 | newbutton |= BUTTON_SCROLL_BACK; | 127 | newbutton |= BUTTON_SCROLL_BACK; |
124 | #endif | 128 | #endif |
129 | #if defined(BUTTON_MINUS) && defined(BUTTON_PLUS) && \ | ||
130 | !defined(SIMULATOR) | ||
131 | if (button & BUTTON_MINUS) | ||
132 | newbutton |= BUTTON_PLUS; | ||
133 | if (button & BUTTON_PLUS) | ||
134 | newbutton |= BUTTON_MINUS; | ||
135 | #endif | ||
125 | 136 | ||
126 | return newbutton; | 137 | return newbutton; |
127 | } | 138 | } |