isKeyPressed function

bool isKeyPressed(
  1. KeyboardKey key
)

Check if a key has been pressed once.

Implementation

bool isKeyPressed(KeyboardKey key) {
  return library.IsKeyPressed(keyboardKeyToNative(key));
}