Check if a key has been pressed once.
Note
This function has been auto-generated from the following Raylib function definition:
IsKeyPressed(int key); bool
See also
Other key functions:
get_char_pressed()
,
get_key_pressed()
,
is_key_down()
,
is_key_released()
,
is_key_up()
,
set_exit_key()