cmdfx
0.2.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
#include <stdbool.h>
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
41
bool
*
Device_getKeyboardKeysPressed
();
42
48
char
Device_fromKeyCode
(
int
keyCode);
49
67
bool
*
Device_getMouseButtonsPressed
();
68
69
#ifdef __cplusplus
70
}
71
#endif
Device_fromKeyCode
char Device_fromKeyCode(int keyCode)
Converts a key code to a character.
Device_getMouseButtonsPressed
bool * Device_getMouseButtonsPressed()
Gets the current mouse button being pressed.
Device_getKeyboardKeysPressed
bool * Device_getKeyboardKeysPressed()
Gets the current keys being pressed.
Generated by
1.13.2