mirror of https://github.com/stella-emu/stella.git
fixed missing control key support in LauncherDialog's filter
This commit is contained in:
parent
e11c4615e6
commit
06cbf95b3b
|
@ -643,8 +643,11 @@ void LauncherDialog::handleKeyDown(StellaKey key, StellaMod mod, bool repeated)
|
||||||
{
|
{
|
||||||
// Grab the key before passing it to the actual dialog and check for
|
// Grab the key before passing it to the actual dialog and check for
|
||||||
// context menu keys
|
// context menu keys
|
||||||
|
bool handled = false;
|
||||||
|
|
||||||
if(StellaModTest::isControl(mod))
|
if(StellaModTest::isControl(mod))
|
||||||
{
|
{
|
||||||
|
handled = true;
|
||||||
switch(key)
|
switch(key)
|
||||||
{
|
{
|
||||||
case KBDK_P:
|
case KBDK_P:
|
||||||
|
@ -661,10 +664,11 @@ void LauncherDialog::handleKeyDown(StellaKey key, StellaMod mod, bool repeated)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
handled = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
if(!handled)
|
||||||
#if defined(RETRON77)
|
#if defined(RETRON77)
|
||||||
// handle keys used by R77
|
// handle keys used by R77
|
||||||
switch(key)
|
switch(key)
|
||||||
|
|
Loading…
Reference in New Issue