C# Class Joystick, KMotionX

Inheritance: MonoBehaviour
Mostrar archivo Open project: parhansson/KMotionX Class Usage Examples

Private Properties

Property Type Description
CompassMagnitude void
DistanceFromCenter double
InitializeComponent void
Joystick_MouseDown void
Joystick_MouseMove void
Joystick_MouseUp void
Joystick_SizeChanged void

Public Methods

Method Description
Joystick ( ) : System
Subscribe ( Position p ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs pe ) : void

Private Methods

Method Description
CompassMagnitude ( ) : void
DistanceFromCenter ( ) : double
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Joystick_MouseDown ( object sender, System e ) : void
Joystick_MouseMove ( object sender, System e ) : void
Joystick_MouseUp ( object sender, System e ) : void
Joystick_SizeChanged ( object sender, System e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Joystick() public method

public Joystick ( ) : System
return System

OnPaint() protected method

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
return void

Subscribe() public method

public Subscribe ( Position p ) : void
p Position
return void