Renamed SDL_GetKeyboardInstanceName() and SDL_GetMouseInstanceName()
For consistency with other device APIs
This commit is contained in:
parent
d154b37b41
commit
9358333286
8 changed files with 15 additions and 15 deletions
|
@ -201,7 +201,7 @@ SDL_KeyboardID *SDL_GetKeyboards(int *count)
|
|||
return keyboards;
|
||||
}
|
||||
|
||||
const char *SDL_GetKeyboardInstanceName(SDL_KeyboardID instance_id)
|
||||
const char *SDL_GetKeyboardNameFromID(SDL_KeyboardID instance_id)
|
||||
{
|
||||
int keyboard_index = SDL_GetKeyboardIndex(instance_id);
|
||||
if (keyboard_index < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue