Code52 / carnac

A utility to give some insight into how you use your keyboard
http://carnackeys.com/
Microsoft Public License
4.13k stars 505 forks source link

KeyPress.cs - missing Shiftpressed #308

Open AudioMegistus opened 2 years ago

AudioMegistus commented 2 years ago

This has been mentioned quite a few times.: the shift key does not display the same as other modifiers.

I could be barking up the wrong tree, but KeyPress.cs has:

    public bool HasModifierPressed
    {
        get
        {
            return InterceptKeyEventArgs.AltPressed
                || InterceptKeyEventArgs.ControlPressed
                || WinkeyPressed;

There's no .ShiftPressed

Could this be the problem?

Unfortunately, my programming knowledge is very limited. I was able to build the package after making the change and adding interceptKeyEventArgs.Shiftpressed to KeyPress.cs - and it seemed to work, but there were a ton of other bugs with the compiled package - most likely because I didn't do it right!