Remove some dead code

This commit is contained in:
twinaphex 2017-06-11 16:51:50 +02:00
parent c14c4cd394
commit 9ec396c0ea
2 changed files with 0 additions and 12 deletions

View File

@ -47,8 +47,6 @@ static input_keyboard_line_t *g_keyboard_line = NULL;
static void *g_keyboard_press_data = NULL;
static bool kb_return_pressed = false;
static unsigned osk_last_codepoint = 0;
static unsigned osk_last_codepoint_len = 0;
@ -92,11 +90,6 @@ static void osk_update_last_char(const char c)
osk_update_last_codepoint(array);
}
bool input_keyboard_return_pressed(void)
{
return kb_return_pressed;
}
/**
* input_keyboard_line_free:
* @state : Input keyboard line handle.
@ -277,9 +270,6 @@ void input_keyboard_event(bool down, unsigned code,
{
static bool deferred_wait_keys;
if (code == RETROK_RETURN || (!down && code == RETROK_UNKNOWN))
kb_return_pressed = down;
if (deferred_wait_keys)
{
if (down)

View File

@ -98,8 +98,6 @@ const char **input_keyboard_start_line(void *userdata,
bool input_keyboard_ctl(enum rarch_input_keyboard_ctl_state state, void *data);
bool input_keyboard_return_pressed(void);
RETRO_END_DECLS
#endif