Loading...
Searching...
No Matches
keyboard.c
Go to the documentation of this file.
#ifdef ARC_NONE_INPUT
#include "arc/input/keyboard.h"
#include <stdio.h>
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input){
printf("No Input Backend Selected\n");
}
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard){
printf("No Input Backend Selected\n");
}
void ARC_Keyboard_Update(ARC_Keyboard *keyboard){
printf("No Input Backend Selected\n");
}
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key){
printf("No Input Backend Selected\n");
return ARC_KEY_NONE;
}
#endif // !ARC_NONE_INPUT
ARC_Input
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
keyboard.h
ARC_KeyboardKey
ARC_KeyboardKey
Definition keyboard.h:32
ARC_Keyboard_Update
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
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)
ARC_Keyboard_Destroy
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
ARC_Keyboard
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
ARC_Keyboard_GetState
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)