mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-02-16 20:39:15 +01:00
Convert keycode to character
This commit is contained in:
parent
0680b1d8e0
commit
c159d07116
@ -21,6 +21,12 @@ public:
|
||||
int get_key();
|
||||
const char *get_string();
|
||||
const char *keycode_to_string(int kc);
|
||||
|
||||
char keycode_to_char(int kc)
|
||||
{
|
||||
return this->keycode_to_string(kc)[0];
|
||||
}
|
||||
|
||||
int char_to_keycode(char c);
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user