change some logs around

detect menu key from any "controller"
This commit is contained in:
ToadKing 2013-02-28 11:04:11 -05:00
parent 83878b05e7
commit 6778267016
2 changed files with 5 additions and 11 deletions

View File

@ -142,10 +142,7 @@ void input_autodetect_setup (void *data, char *msg, size_t sizeof_msg, unsigned
}
}
if (port == 0)
{
keycode_lut[AKEYCODE_MENU] |= ((RARCH_RMENU_TOGGLE + 1) << shift);
}
keycode_lut[AKEYCODE_MENU] |= ((RARCH_RMENU_TOGGLE + 1) << shift);
if (g_settings.input.autodetect_enable)
{

View File

@ -1257,10 +1257,10 @@ static void gl_pbo_async_readback(void *data)
static inline void gl_draw_rgui(void *data)
{
static const GLfloat white_color_rgui[16] = {
1.0f, 1.0f, 1.0f, 0.5f,
1.0f, 1.0f, 1.0f, 0.5f,
1.0f, 1.0f, 1.0f, 0.5f,
1.0f, 1.0f, 1.0f, 0.5f,
1.0f, 1.0f, 1.0f, 0.75f,
1.0f, 1.0f, 1.0f, 0.75f,
1.0f, 1.0f, 1.0f, 0.75f,
1.0f, 1.0f, 1.0f, 0.75f,
};
gl_t *gl = (gl_t*)data;
@ -1361,10 +1361,7 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei
#ifdef HAVE_RGUI
if(lifecycle_mode_state & (1ULL << MODE_MENU_DRAW))
{
RARCH_LOG("rgui draw\n");
gl_draw_rgui(gl);
}
#endif
#ifdef FPS_COUNTER