cmdfx 1.0.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
device.h
Go to the documentation of this file.
1
11
12#pragma once
13
14#include <stdbool.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
48
58char Device_fromKeyCode(int keyCode);
59
82
83#ifdef __cplusplus
84}
85#endif
char Device_fromKeyCode(int keyCode)
Converts a key code to a character.
bool * Device_getMouseButtonsPressed()
Gets the current mouse button being pressed.
bool * Device_getKeyboardKeysPressed()
Gets the current keys being pressed.