cmdfx 0.3.2
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
44
50char Device_fromKeyCode(int keyCode);
51
70
71#ifdef __cplusplus
72}
73#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.