Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: SGT on July 04, 2007, 06:56:27 pm

Title: Mala's Ctrl key staying stuck only w/different layouts.
Post by: SGT on July 04, 2007, 06:56:27 pm
I ran into a situation with Mala.  It is only happening when I use different layouts for emulators.  For example, if I use Ctrl-{right arrow} to move to the next emulator, the ctrl becomes as if it is stuck down.   I cannot scroll through a game list with the {down} and {up} arrows until I press the ctrl key again to "unstick" it.  If I don't press the ctrl key to unstick it, I can use {left arrow} and {right arrow} to move to the next emulator without holding the ctrl key down.

I tried to use a different "shift" key like ALT, but it does the same thing.  The only solution is to assign different keys and not use a shift key.  Again, it only happens if you use a different layout for each emulator.  If you use the same layout for all emulators, it does not occur.   Its as if there is a flag for the ctrl key that is not being cleared, hence pressing it by itself clears it. 

Is there some setting that I am overlooking that is causing this? Now its not a biggie to me as I will normally be using a joystick.  But if it is a glitch, I thought Swindus may want to know about it.

SGT
P.S.  It doesn't seem to be a Windows StickyKeys issue as it only occurs inside Mala.
Title: Re: Mala's Ctrl key staying stuck only w/different layouts.
Post by: loadman on July 04, 2007, 08:00:36 pm
I ran into a situation with Mala.  It is only happening when I use different layouts for emulators.  For example, if I use Ctrl-{right arrow} to move to the next emulator, the ctrl becomes as if it is stuck down.   I cannot scroll through a game list with the {down} and {up} arrows until I press the ctrl key again to "unstick" it.  If I don't press the ctrl key to unstick it, I can use {left arrow} and {right arrow} to move to the next emulator without holding the ctrl key down.

I tried to use a different "shift" key like ALT, but it does the same thing.  The only solution is to assign different keys and not use a shift key.  Again, it only happens if you use a different layout for each emulator.  If you use the same layout for all emulators, it does not occur.   Its as if there is a flag for the ctrl key that is not being cleared, hence pressing it by itself clears it. 

Is there some setting that I am overlooking that is causing this? Now its not a biggie to me as I will normally be using a joystick.  But if it is a glitch, I thought Swindus may want to know about it.

SGT
P.S.  It doesn't seem to be a Windows StickyKeys issue as it only occurs inside Mala.


I was about to say 'StickyKeys' until I read your last bit...  ::)

Anyway to confirm it's not a windows issue have you tried this on another PC?
Title: Re: Mala's Ctrl key staying stuck only w/different layouts.
Post by: GlennEdwards on July 04, 2007, 08:48:31 pm
Hi Loadman,

I can confirm that I also have this issue with Mala RC9. When I use Ctrl-Left and Ctrl-Right to switch to different emulators and layouts the Ctrl gets "stuck" until I press it again..

Glenn
Title: Re: Mala's Ctrl key staying stuck only w/different layouts.
Post by: SGT on July 04, 2007, 11:01:19 pm
Code: [Select]
Anyway to confirm it's not a windows issue have you tried this on another PC?
Did a fresh install on my daughter's PC a little while ago, and yes it is a problem there too.   Like I said, you can uncheck the "Auto Layout Switch" for emulators and the keys start working properly immediately.  Check it off again, problem immediately returns as soon as you switch emulators.

I am almost postive that the code that switches emulators isn't clearing a variable that holds the status of the "Shift" key.  But I have been wrong before. ;D
Title: Re: Mala's Ctrl key staying stuck only w/different layouts.
Post by: swindus on July 05, 2007, 02:15:05 am
Confirmed. The MaLa 'Shift' key gets stuck when the layout is switched and the 'Shift' key is pressed. Will fix this.
Title: Re: Mala's Ctrl key staying stuck only w/different layouts.
Post by: SGT on July 05, 2007, 12:39:28 pm
Confirmed. The MaLa 'Shift' key gets stuck when the layout is switched and the 'Shift' key is pressed. Will fix this.

Thanks a lot Swindus.  Also it's great to see you back.