Merge pull request #356 from shattered/_0785efc

Remove obsolete CapsLock hack.
This commit is contained in:
Vas Crabb 2015-10-02 19:05:01 +10:00
commit 14e90c06a0

View File

@ -1730,13 +1730,6 @@ void sdlinput_poll(running_machine &machine)
if (!SDL_PollEvent(&event))
break;
}
if (event.type == SDL_KEYUP &&
event.key.keysym.sym == SDLK_CAPSLOCK)
{
/* more caps-lock hack */
event.type = SDL_KEYDOWN;
}
switch(event.type) {
case SDL_KEYDOWN:
#ifdef SDL2_MULTIAPI