From d1f5849cf40e92414eddc0bae6bcf3b203af0d0b Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 8 Sep 2013 21:25:29 +0300 Subject: [PATCH] don't use a and s for menu functions leave them for rom seeking --- in_sdl.c | 6 +++--- linux/in_evdev.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/in_sdl.c b/in_sdl.c index 2cdbd3f..60f0650 100644 --- a/in_sdl.c +++ b/in_sdl.c @@ -61,7 +61,7 @@ static const char * const in_sdl_keys[SDLK_LAST] = { [SDLK_8] = "8", [SDLK_9] = "9", [SDLK_COLON] = ":", - [SDLK_SEMICOLON] = ",", + [SDLK_SEMICOLON] = ";", [SDLK_LESS] = "<", [SDLK_EQUALS] = "=", [SDLK_GREATER] = ">", @@ -399,8 +399,8 @@ static const struct menu_keymap key_pbtn_map[] = /* XXX: maybe better set this from it's plat code somehow */ { SDLK_RETURN, PBTN_MOK }, { SDLK_ESCAPE, PBTN_MBACK }, - { SDLK_a, PBTN_MA2 }, - { SDLK_s, PBTN_MA3 }, + { SDLK_SEMICOLON, PBTN_MA2 }, + { SDLK_QUOTE, PBTN_MA3 }, { SDLK_BACKSLASH, PBTN_MENU }, { SDLK_LEFTBRACKET, PBTN_L }, { SDLK_RIGHTBRACKET, PBTN_R }, diff --git a/linux/in_evdev.c b/linux/in_evdev.c index fed27f7..bd6340c 100644 --- a/linux/in_evdev.c +++ b/linux/in_evdev.c @@ -551,8 +551,8 @@ static const struct { /* "normal" keyboards */ { KEY_ENTER, PBTN_MOK }, { KEY_ESC, PBTN_MBACK }, - { KEY_A, PBTN_MA2 }, - { KEY_S, PBTN_MA3 }, + { KEY_SEMICOLON, PBTN_MA2 }, + { KEY_APOSTROPHE, PBTN_MA3 }, { KEY_BACKSLASH, PBTN_MENU }, { KEY_LEFTBRACE, PBTN_L }, { KEY_RIGHTBRACE, PBTN_R }, -- 2.39.5