cmdfx 0.1.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#ifdef __cplusplus
15extern "C" {
16#endif
17
40
46char Device_fromKeyCode(int keyCode);
47
66
67#ifdef __cplusplus
68}
69#endif
int * Device_getMouseButtonsPressed()
Gets the current mouse button being pressed.
char Device_fromKeyCode(int keyCode)
Converts a key code to a character.
int * Device_getKeyboardKeysPressed()
Gets the current keys being pressed.