private void Stick_OnAreaStatusChanged(object sender, AreaJoystick <VirtualKeyCode> .AreaStatusChangeEventArgs <VirtualKeyCode> e) { KeyboardServiceWrapper.UpdateKeyStatus(e.Area.AreaIdentifier, (KeyStatus)e.NewStatus); }
private void KeyManager_VolumnUpKeyUp(object sender, KeyEventArgs e) { KeyboardServiceWrapper.UpdateKeyStatus(VirtualKeyCode.PRIOR, KeyStatus.Released); e.Handle = true; }
private void KeyManager_VolumnDownKeyDown(object sender, KeyEventArgs e) { KeyboardServiceWrapper.UpdateKeyStatus(VirtualKeyCode.NEXT, KeyStatus.Pressed); e.Handle = true; }
private void OpenLazerButton_KeyDown(object sender, EventArgs e) { KeyboardServiceWrapper.UpdateKeyStatus(VirtualKeyCode.LCONTROL, KeyStatus.Pressed); KeyboardServiceWrapper.UpdateKeyStatus(VirtualKeyCode.VK_L, KeyStatus.Pressed); }