public void Reinitialize() { var old = _callback; _callback = KeyboardManager.GlobalCallback(RaiseEvents); old.Dispose(); }
public GlobalKeyboardHandler() { _semaphore = new SemaphoreSlim(1, 1); _callback = KeyboardManager.GlobalCallback(RaiseEvents); }