matchesKey

fun matchesKey(keyCode: Int, scanCode: Int): Boolean

Determines if the specified key matches the bound key.

Return

True if the key code or scan code matches the bound key, false otherwise.

Parameters

keyCode

The GLFW key code to check.

scanCode

The scan code to check.