mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-30 16:14:11 +00:00
Remove unneeded last_codepoint code from menu_event.c
This commit is contained in:
parent
f72bf26eac
commit
5a6a2be859
@ -62,8 +62,6 @@ enum osk_type
|
||||
static enum osk_type osk_idx = OSK_LOWERCASE_LATIN;
|
||||
static int osk_ptr;
|
||||
static const char *osk_grid[45];
|
||||
static unsigned me_osk_last_codepoint = 0;
|
||||
static unsigned me_osk_last_codepoint_len = 0;
|
||||
|
||||
static const char *uppercase_grid[] = {
|
||||
"!","@","#","$","%","^","&","*","(",")","⇦",
|
||||
@ -334,11 +332,6 @@ unsigned menu_event(uint64_t input, uint64_t trigger_input)
|
||||
{
|
||||
if (osk_ptr >= 0)
|
||||
{
|
||||
const char *letter = osk_grid[osk_ptr];
|
||||
|
||||
me_osk_last_codepoint_len = strlen(osk_grid[osk_ptr]);
|
||||
me_osk_last_codepoint = utf8_walk(&letter);
|
||||
|
||||
menu_event_osk_append(osk_ptr);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user