fix little bug in setpressedstrategy in future release

Official forum for open source FreePIE discussion and development.
Post Reply
FrenchyKiel
One Eyed Hopeful
Posts: 47
Joined: Thu Oct 03, 2013 7:10 am

fix little bug in setpressedstrategy in future release

Post by FrenchyKiel »

Hi

in future release could you fix the "little bug" in SetPressedStrategy.cs

replace

Code: Select all

        private void Press(int code)
        {
            onPress(code);
            release.Add(code);
        }
by

Code: Select all

        private void Press(int code)
        {
            onPress(code);
            release.Insert(0, code);
        }
there is sometimes a problem with keyboard, the keys are not released in reverse order, so with insert, i have no more problem

press Shift
press L
press R

release R
release L
release Shift
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: fix little bug in setpressedstrategy in future release

Post by CyberVillain »

I will look in to this, thanks. Need to see if it can break anything for existing scripts
Post Reply

Return to “FreePIE”