C# Class OpenTK.Platform.MacOS.HIDInput

Inheritance: IInputDriver2, IMouseDriver2, IKeyboardDriver2, IJoystickDriver2
Mostra file Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
HIDInput ( ) : System

Private Methods

Method Description
CreateHIDManager ( ) : IOHIDManagerRef
DeviceAdded ( IntPtr context, IOReturn res, IntPtr sender, IOHIDDeviceRef device ) : void
DeviceRemoved ( IntPtr context, IOReturn res, IntPtr sender, IOHIDDeviceRef device ) : void
DeviceValueReceived ( IntPtr context, IOReturn res, IntPtr sender, IOHIDValueRef val ) : void
Dispose ( bool manual ) : void
IKeyboardDriver2 ( ) : KeyboardState
IKeyboardDriver2 ( int index ) : KeyboardState
IKeyboardDriver2 ( int index ) : string
IMouseDriver2 ( ) : MouseState
IMouseDriver2 ( int index ) : MouseState
IMouseDriver2 ( double x, double y ) : void
RegisterHIDCallbacks ( IOHIDManagerRef hidmanager ) : void
UpdateKeyboard ( KeyboardState state, IOHIDValueRef val ) : KeyboardState
UpdateMouse ( MouseState state, IOHIDValueRef val ) : MouseState

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HIDInput() public method

public HIDInput ( ) : System
return System