Show / Hide Table of Contents

Delegate GLFWCallbacks.KeyCallback

The function signature for keyboard key callback functions.

Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public delegate void GLFWCallbacks.KeyCallback(Window* window, Keys key, int scanCode, InputAction action, KeyModifiers mods)
Parameters
Type Name Description
Window* window

The window that received the event.

Keys key

The keyboard key that was pressed or released.

int scanCode

The system-specific scancode of the key.

InputAction action

The InputAction for that key.

KeyModifiers mods

Bit field describing which modifier keys were held down.

See Also

SetKeyCallback(Window*, KeyCallback)
In This Article
Back to top Generated by DocFX