- bugfix for backspace on mac
This commit is contained in:
parent
e01ccca6a3
commit
8793b3400b
|
@ -804,6 +804,9 @@ bool isKeyPressed(SDLKey compareKey, SDL_KeyboardEvent input,bool modifiersAllow
|
|||
else if(compareKey == SDLK_KP_MULTIPLY) {
|
||||
result = (c == SDLK_ASTERISK);
|
||||
}
|
||||
else if(compareKey == SDLK_BACKSPACE) {
|
||||
result = (c == SDLK_DELETE);
|
||||
}
|
||||
else if( compareKey >= SDLK_0 && compareKey <= SDLK_9) {
|
||||
switch(compareKey) {
|
||||
case SDLK_0:
|
||||
|
|
Loading…
Reference in New Issue