Show / Hide Table of Contents

Namespace OpenTK.Input

Classes

FileDropEventArgs

Defines the event data for NativeWindow events.

GamePad

Provides access to GamePad devices. A GamePad device offers a well-defined layout with one direction-pad, two thumbsticks, two triggers, four main buttons (A, B, X, Y) and up to seven auxilliary buttons. Use GetCapabilities to retrieve the exact capabilities of a given device. Use GetState to retrieve the current state of a given device.

Joystick

Provides access to Joystick devices. Joystick devices provide a varying number of axes and buttons. Use GetCapabilities to retrieve the number of supported axes and buttons on a given device. Use GetState to retrieve the current state of a given device.

JoystickAxisCollection

Defines a collection of JoystickAxes.

JoystickButtonCollection

Defines a collection of JoystickButtons.

JoystickButtonEventArgs

Provides data for the ButtonDown and ButtonUp events. This class is cached for performance reasons - avoid storing references outside the scope of the event.

JoystickDevice

Represents a joystick device and provides methods to query its status.

JoystickEventArgs

The base class for JoystickDevice event arguments.

JoystickMoveEventArgs

Provides data for the Move event. This class is cached for performance reasons - avoid storing references outside the scope of the event.

Keyboard

Provides access to keyboard devices. Note: this API is not implemented yet.

KeyboardDevice

Represents a keyboard device and provides methods to query its status.

KeyboardKeyEventArgs

Defines the event data for KeyboardDevice events.

Mouse

Provides access to mouse devices. Note: this API is not implemented yet.

MouseButtonEventArgs

Defines the event data for ButtonDown and ButtonUp events.

MouseDevice

Represents a mouse device and provides methods to query its status.

MouseEventArgs

Defines the event data for MouseDevice events.

MouseMoveEventArgs

Defines the event data for Move events.

MouseWheelEventArgs

Defines the event data for WheelChanged events.

Structs

GamePadButtons

Describes the ButtonState of GamePad Buttons.

GamePadCapabilities

Describes the capabilities of a GamePad input device.

GamePadDPad

Describes the state of a GamePad directional pad.

GamePadState

Describes the current state of a GamePad device.

GamePadThumbSticks

Describes the current thumb stick state of a GamePad device

GamePadTriggers

Describes the state of a GamePad trigger buttons.

JoystickCapabilities

Describes the JoystickCapabilities of a JoystickDevice.

JoystickHatState

Describes the state of a joystick hat.

JoystickState

Describes the current state of a JoystickDevice.

KeyboardState

Encapsulates the state of a Keyboard device.

MouseScroll

Represents the state of a mouse wheel.

MouseState

Encapsulates the state of a mouse device.

Interfaces

IInputDevice

Defines a common interface for all input devices.

Enums

Buttons

Enumerates available buttons for a GamePad device.

ButtonState

Enumerates possible mouse button states.

GamePadType

Enumerates available GamePad types.

HatPosition

Enumerates discrete positions for a joystick hat.

InputDeviceType

The type of the input device.

JoystickHat

Defines available Joystick hats.

Key

The available keyboard keys.

KeyModifiers

Enumerates modifier keys.

MouseButton

Enumerates all possible mouse buttons.

In This Article
Back to top Generated by DocFX