Archeus 0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
mouse.c
Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
2
3#include "arc/input/mouse.h"
4#include <stdio.h>
5
7 printf("No Input Backend Selected\n");
8}
9
10void ARC_Mouse_Destroy(ARC_Mouse *mouse){
11 printf("No Input Backend Selected\n");
12}
13
14void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask){
15 printf("No Input Backend Selected\n");
16}
17
18void ARC_Mouse_Update(ARC_Mouse *mouse){
19 printf("No Input Backend Selected\n");
20}
21
23 printf("No Input Backend Selected\n");
24 return NULL;
25}
26
28 printf("No Input Backend Selected\n");
29 return ARC_MOUSE_NONE;
30}
31
32int32_t *ARC_Mouse_GetScrollY(ARC_Mouse *mouse){
33 printf("No Input Backend Selected\n");
34 return NULL;
35}
36
37#endif // !ARC_INPUT_NONE
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button)
ARC_Point * ARC_Mouse_GetCoords(ARC_Mouse *mouse)
ARC_MouseButton
Definition mouse.h:24
int32_t * ARC_Mouse_GetScrollY(ARC_Mouse *mouse)
ARC_MouseState
Definition mouse.h:18
@ ARC_MOUSE_NONE
Definition mouse.h:19
void ARC_Mouse_Update(ARC_Mouse *mouse)
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)