Added SDL_GetScancodeFromName() and SDL_GetKeyFromName()
This commit is contained in:
parent
b285f5017f
commit
ee56d1a748
3 changed files with 105 additions and 6 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
int UTF8_TrailingBytes(unsigned char c)
|
||||
{
|
||||
if (c >= 0xC0 && c<= 0xDF)
|
||||
if (c >= 0xC0 && c <= 0xDF)
|
||||
return 1;
|
||||
else if (c >= 0xE0 && c <= 0xEF)
|
||||
return 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue