C# Class WoWmapper.Input.HardwareInput

Datei anzeigen Open project: topher-au/WoWmapper

Public Methods

Method Description
MoveMouse ( int relativeX, int relativeY ) : void
SendClick ( MouseButton button, bool state ) : void
SendKey ( Key key, bool state ) : void
SynthKeyPress ( Key key, bool state ) : INPUT[]
SynthMouseClick ( MouseButton button, bool state ) : INPUT[]
SynthMouseMove ( int relativeX, int relativeY ) : INPUT[]

Private Methods

Method Description
MapVirtualKey ( uint uCode, MapVirtualKeyMapTypes uMapType ) : int
SendInput ( uint nInputs, [ pInputs, int cbSize ) : uint

Method Details

MoveMouse() public static method

public static MoveMouse ( int relativeX, int relativeY ) : void
relativeX int
relativeY int
return void

SendClick() public static method

public static SendClick ( MouseButton button, bool state ) : void
button MouseButton
state bool
return void

SendKey() public static method

public static SendKey ( Key key, bool state ) : void
key Key
state bool
return void

SynthKeyPress() public static method

public static SynthKeyPress ( Key key, bool state ) : INPUT[]
key Key
state bool
return INPUT[]

SynthMouseClick() public static method

public static SynthMouseClick ( MouseButton button, bool state ) : INPUT[]
button MouseButton
state bool
return INPUT[]

SynthMouseMove() public static method

public static SynthMouseMove ( int relativeX, int relativeY ) : INPUT[]
relativeX int
relativeY int
return INPUT[]