mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Remove some dead code
This commit is contained in:
parent
c14c4cd394
commit
9ec396c0ea
@ -47,8 +47,6 @@ static input_keyboard_line_t *g_keyboard_line = NULL;
|
|||||||
|
|
||||||
static void *g_keyboard_press_data = 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 = 0;
|
||||||
static unsigned osk_last_codepoint_len = 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);
|
osk_update_last_codepoint(array);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool input_keyboard_return_pressed(void)
|
|
||||||
{
|
|
||||||
return kb_return_pressed;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* input_keyboard_line_free:
|
* input_keyboard_line_free:
|
||||||
* @state : Input keyboard line handle.
|
* @state : Input keyboard line handle.
|
||||||
@ -277,9 +270,6 @@ void input_keyboard_event(bool down, unsigned code,
|
|||||||
{
|
{
|
||||||
static bool deferred_wait_keys;
|
static bool deferred_wait_keys;
|
||||||
|
|
||||||
if (code == RETROK_RETURN || (!down && code == RETROK_UNKNOWN))
|
|
||||||
kb_return_pressed = down;
|
|
||||||
|
|
||||||
if (deferred_wait_keys)
|
if (deferred_wait_keys)
|
||||||
{
|
{
|
||||||
if (down)
|
if (down)
|
||||||
|
@ -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_ctl(enum rarch_input_keyboard_ctl_state state, void *data);
|
||||||
|
|
||||||
bool input_keyboard_return_pressed(void);
|
|
||||||
|
|
||||||
RETRO_END_DECLS
|
RETRO_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user