Loading...
Searching...
No Matches
keyboard.c
Go to the documentation of this file.
#ifdef ARC_GLFW_INPUT
#include "arc/input/keyboard.h"
#include "keyboard.h"
#include "arc/math/point.h"
#include "arc/std/errno.h"
#include <stdlib.h>
#include <stdint.h>
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input){
}
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard){
}
void ARC_Keyboard_Update(ARC_Keyboard *keyboard){
}
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key){
return ARC_KEY_NONE;
}
#endif // ARC_GLFW_INPUT
errno.h
keyboard.h
ARC_KeyboardKey
ARC_KeyboardKey
Definition keyboard.h:32
ARC_Keyboard_Update
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
ARC_KeyboardState
ARC_KeyboardState
Definition keyboard.h:19
ARC_KEY_NONE
@ ARC_KEY_NONE
Definition keyboard.h:20
ARC_Keyboard_CreateWithInput
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
ARC_Keyboard_Destroy
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
ARC_Keyboard_GetState
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
Definition keyboard.c:52
keyboard.h
point.h
ARC_Input
Definition input.h:8
ARC_Keyboard
Definition keyboard.h:7