mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
Nuke maemo (nokian800/nokian900) and [open]pandora targets
They haven't seen any work since 2013, and likely hasn't compiled in at least a couple of releases -- not that we ever "released" anything for these targets. Futhermore, upstream for both has been effectively dead for about as long, and there's been no user reports of these being used since 2017 (and even then only in passing). It isn't worth the effort to triage their current state, much less uplift into something supportable, while the maintenance burden of keeping these things in-tree can be demonstrated by the diffstat. Change-Id: Id93bd450679d1b75e2c74295b3ae1548cd241b24
This commit is contained in:
parent
c47c075bd3
commit
bbcf210c94
36 changed files with 18 additions and 1728 deletions
|
|
@ -81,10 +81,6 @@ SDL_Cursor *sdl_arrow_cursor = NULL;
|
|||
|
||||
int sdl_app_has_input_focus = 1;
|
||||
|
||||
#if (CONFIG_PLATFORM & PLATFORM_MAEMO)
|
||||
static int n900_updown_key_pressed = 0;
|
||||
#endif
|
||||
|
||||
#ifdef HAS_BUTTON_HOLD
|
||||
bool hold_button_state = false;
|
||||
bool button_hold(void) {
|
||||
|
|
@ -288,28 +284,6 @@ static bool event_handler(SDL_Event *event)
|
|||
case SDL_KEYDOWN:
|
||||
case SDL_KEYUP:
|
||||
ev_key = event->key.keysym.sym;
|
||||
#if (CONFIG_PLATFORM & PLATFORM_MAEMO5)
|
||||
/* N900 with shared up/down cursor mapping. Seen on the German,
|
||||
Finnish, Italian, French and Russian version. Probably more. */
|
||||
if (event->key.keysym.mod & KMOD_MODE || n900_updown_key_pressed)
|
||||
{
|
||||
/* Prevent stuck up/down keys: If you release the ALT key before the cursor key,
|
||||
rockbox will see a KEYUP event for left/right instead of up/down and
|
||||
the previously pressed up/down key would stay active. */
|
||||
if (ev_key == SDLK_LEFT || ev_key == SDLK_RIGHT)
|
||||
{
|
||||
if (event->type == SDL_KEYDOWN)
|
||||
n900_updown_key_pressed = 1;
|
||||
else
|
||||
n900_updown_key_pressed = 0;
|
||||
}
|
||||
|
||||
if (ev_key == SDLK_LEFT)
|
||||
ev_key = SDLK_UP;
|
||||
else if (ev_key == SDLK_RIGHT)
|
||||
ev_key = SDLK_DOWN;
|
||||
}
|
||||
#endif
|
||||
button_event(ev_key, event->type == SDL_KEYDOWN);
|
||||
break;
|
||||
|
||||
|
|
@ -463,9 +437,6 @@ static void show_sim_help(void)
|
|||
#ifdef HAVE_HOTSWAP
|
||||
HELPTXT(EXT_KEY, "toggle external drive");
|
||||
#endif
|
||||
#if (CONFIG_PLATFORM & PLATFORM_PANDORA)
|
||||
HELPTXT(SDLK_LCTRL, "shutdown");
|
||||
#endif
|
||||
#ifdef HAS_BUTTON_HOLD
|
||||
HELPTXT(SDLK_h, "toggle hold button");
|
||||
#endif
|
||||
|
|
@ -586,12 +557,6 @@ static void button_event(int key, bool pressed)
|
|||
return;
|
||||
#endif
|
||||
#endif
|
||||
#if (CONFIG_PLATFORM & PLATFORM_PANDORA)
|
||||
case SDLK_LCTRL:
|
||||
/* Will post SDL_USEREVENT in shutdown_hw() if successful. */
|
||||
sys_poweroff();
|
||||
break;
|
||||
#endif
|
||||
#ifdef RG_NANO
|
||||
case SDLK_q:
|
||||
/* Use reboot to exit without shutting down */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue