mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
Merge pull request #356 from shattered/_0785efc
Remove obsolete CapsLock hack.
This commit is contained in:
commit
14e90c06a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user