cmdfx
0.1.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
include
cmdfx
core
device.h
Go to the documentation of this file.
1
11
12
#pragma once
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
39
int
*
Device_getKeyboardKeysPressed
();
40
46
char
Device_fromKeyCode
(
int
keyCode);
47
65
int
*
Device_getMouseButtonsPressed
();
66
67
#ifdef __cplusplus
68
}
69
#endif
Device_getMouseButtonsPressed
int * Device_getMouseButtonsPressed()
Gets the current mouse button being pressed.
Device_fromKeyCode
char Device_fromKeyCode(int keyCode)
Converts a key code to a character.
Device_getKeyboardKeysPressed
int * Device_getKeyboardKeysPressed()
Gets the current keys being pressed.
Generated by
1.13.2