diff options
| author | Marianne Arnold <pixelma@rockbox.org> | 2007-09-13 22:21:40 +0000 |
|---|---|---|
| committer | Marianne Arnold <pixelma@rockbox.org> | 2007-09-13 22:21:40 +0000 |
| commit | d9bf26a127ceb554263e9034bdb46e348df51d4c (patch) | |
| tree | cd1695de4e300db6b5777b700a7e66039d410014 /apps/plugins | |
| parent | 0c2dfbc3af1d346644a625833e399f0b843fbaa7 (diff) | |
| download | rockbox-d9bf26a127ceb554263e9034bdb46e348df51d4c.zip rockbox-d9bf26a127ceb554263e9034bdb46e348df51d4c.tar.gz rockbox-d9bf26a127ceb554263e9034bdb46e348df51d4c.tar.bz2 rockbox-d9bf26a127ceb554263e9034bdb46e348df51d4c.tar.xz | |
Remove the ability to restart chessbox with a button (combo). It became redundant since there is a menu item for it; it didn't work on M5 or X5 before and there was a good chance of restarting accidentally. Also update the manual accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14687 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/chessbox/chessbox.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 8e3d889..2ff808d 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c @@ -50,7 +50,6 @@ PLUGIN_HEADER #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY (BUTTON_SELECT | BUTTON_PLAY) #define CB_LEVEL (BUTTON_SELECT | BUTTON_RIGHT) -#define CB_RESTART (BUTTON_SELECT | BUTTON_LEFT) #define CB_MENU (BUTTON_SELECT | BUTTON_MENU) #define CB_SCROLL_UP (BUTTON_SCROLL_FWD|BUTTON_REPEAT) @@ -66,7 +65,6 @@ PLUGIN_HEADER #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY BUTTON_PLAY #define CB_LEVEL BUTTON_REC -#define CB_RESTART (BUTTON_SELECT | BUTTON_PLAY) #define CB_MENU BUTTON_POWER #define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT) @@ -82,7 +80,6 @@ PLUGIN_HEADER #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY BUTTON_ON #define CB_LEVEL BUTTON_MODE -#define CB_RESTART BUTTON_REC #define CB_MENU BUTTON_OFF #define CB_RC_QUIT BUTTON_RC_STOP @@ -115,7 +112,6 @@ PLUGIN_HEADER #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY BUTTON_ON #define CB_LEVEL BUTTON_F1 -#define CB_RESTART BUTTON_F3 #define CB_MENU BUTTON_OFF #define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT) @@ -131,7 +127,6 @@ PLUGIN_HEADER #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY BUTTON_ON #define CB_LEVEL BUTTON_F1 -#define CB_RESTART BUTTON_F3 #define CB_MENU BUTTON_OFF #define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT) @@ -149,7 +144,6 @@ PLUGIN_HEADER #define CB_PLAY_PRE BUTTON_MENU #define CB_PLAY (BUTTON_MENU|BUTTON_REPEAT) #define CB_LEVEL (BUTTON_MENU|BUTTON_OFF) -#define CB_RESTART (BUTTON_MENU|BUTTON_LEFT) #define CB_MENU BUTTON_OFF #define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT) @@ -180,7 +174,6 @@ PLUGIN_HEADER #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY BUTTON_PLAY #define CB_LEVEL BUTTON_FF -#define CB_RESTART (BUTTON_REW | BUTTON_PLAY) #define CB_MENU BUTTON_POWER #define CB_SCROLL_UP (BUTTON_SCROLL_UP|BUTTON_REPEAT) @@ -196,7 +189,6 @@ PLUGIN_HEADER #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY (BUTTON_SELECT | BUTTON_RIGHT) #define CB_LEVEL BUTTON_REC -#define CB_RESTART (BUTTON_SELECT | BUTTON_REPEAT) #define CB_MENU BUTTON_POWER #define CB_SCROLL_UP (BUTTON_SCROLL_UP|BUTTON_REPEAT) @@ -835,11 +827,6 @@ struct cb_command cb_getcommand (void) { case CB_MENU: result.type = cb_menu(); return result; -#ifdef CB_RESTART - case CB_RESTART: - result.type = COMMAND_RESTART; - return result; -#endif case CB_LEVEL: result.type = COMMAND_LEVEL; return result; |