Loading...
Searching...
No Matches
input.c
Go to the documentation of this file.
#include "arc/input/input.h"
#include "arc/std/bool.h"
#include <stdio.h>
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data){
printf("No Input Backend Selected\n");
}
void ARC_Input_Destroy(ARC_Input *input){
printf("No Input Backend Selected\n");
}
ARC_Bool ARC_Input_Update(ARC_Input *input){
printf("No Input Backend Selected\n");
return ARC_True;
}
ARC_Keyboard *ARC_Input_GetKeyboard(ARC_Input *input){
printf("No Input Backend Selected\n");
return NULL;
}
ARC_Mouse *ARC_Input_GetMouse(ARC_Input *input){
printf("No Input Backend Selected\n");
return NULL;
}
bool.h
ARC_True
#define ARC_True
Definition bool.h:11
ARC_Bool
#define ARC_Bool
Definition bool.h:10
ARC_Input_GetKeyboard
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:20
ARC_Input_Destroy
void ARC_Input_Destroy(ARC_Input *input)
Definition input.c:11
ARC_Input_GetMouse
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:25
ARC_Input_CreateWithEngineData
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:7
ARC_Input_Update
ARC_Bool ARC_Input_Update(ARC_Input *input)
Definition input.c:15
input.h
ARC_Input
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
ARC_Keyboard
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
ARC_Mouse
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
ARC_EngineData
Definition engine.h:17