public bool IsKeyUp(int keycode) { // Returns true if the key is currently being pressed var key = (SlimDX.DirectInput.Key) keycode; bool up = KeyState.IsReleased(key) && !MyKeyDown[keycode]; return up; }
public bool getKeyUp(Key key) { return(plugin.IsKeyUp((int)key)); }