gmamaladze / globalmousekeyhook

This library allows you to tap keyboard and mouse, detect and record their activity even when an application is inactive and runs in background.
MIT License
1.04k stars 257 forks source link

Bugfix for KeyObserverExtensions.cs #168

Open cmp-nct opened 1 year ago

cmp-nct commented 1 year ago
public static IObservable<Keys> KeyUpObservable(this IKeyboardEvents source)
        {
            return Observable
                .FromEventPattern<KeyEventArgs>(source, "KeyUp")
                .Select(ep => ep.EventArgs.KeyCode);
        }

It uses "KeyDown" there which is a typo from copy/paste of the Keydown event.

Mrgaton commented 1 year ago

Proyect abandoned...

cstrife1 commented 1 year ago

Looks like some fixes are being pulled in. Time to download, build and try to see if there are any improvements.