C# Class OpenTK.Platform.X11.X11Input

Drives the InputDriver on X11. This class supports OpenTK, and is not intended for users of OpenTK.
Inheritance: IInputDriver
ファイルを表示 Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Poll ( ) : void

Polls and updates state of all keyboard, mouse and joystick devices.

X11Input ( IWindowInfo attach ) : System

Constructs a new X11Input driver. Creates a hidden InputOnly window, child to the main application window, which selects input events and routes them to the device specific drivers (Keyboard, Mouse, Hid).

Private Methods

Method Description
InternalPoll ( ) : void
ProcessEvent ( XEvent &e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Poll() public method

Polls and updates state of all keyboard, mouse and joystick devices.
public Poll ( ) : void
return void

X11Input() public method

Constructs a new X11Input driver. Creates a hidden InputOnly window, child to the main application window, which selects input events and routes them to the device specific drivers (Keyboard, Mouse, Hid).
public X11Input ( IWindowInfo attach ) : System
attach IWindowInfo The window which the InputDriver will attach itself on.
return System