Show / Hide Table of Contents

Class HidHelper

Static class that provides helper functions for consuming HID input.

Inheritance
object
HidHelper
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Input.Hid
Assembly: OpenTK.Input.dll
Syntax
public static class HidHelper

Methods

TranslateJoystickAxis(HidPage, int)

Translates a generic HID usage value to a specific joystick axis for the specified HidPage.

Declaration
public static int TranslateJoystickAxis(HidPage page, int usage)
Parameters
Type Name Description
HidPage page

The HID usage page.

int usage

The generic usage value.

Returns
Type Description
int

An int that maps the HID usage value to a joystick axis.

In This Article
Back to top Generated by DocFX