cmdfx 0.2.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
42
48char Device_fromKeyCode(int keyCode);
49
68
69#ifdef __cplusplus
70}
71#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.