Go to the documentation of this file.
24 #ifndef __TUM_EVENT_H__
25 #define __TUM_EVENT_H__
110 #define FETCH_EVENT_BLOCK 0b1
113 #define FETCH_EVENT_NONBLOCK 0b10
116 #define FETCH_EVENT_NO_GL_CHECK 0b100
signed char tumEventGetMouseMiddle(void)
Returns a copy of the mouse's middle button status.
Definition: TUM_Event.c:218
signed short tumEventGetMouseX(void)
Returns a copy of the mouse's most recent X coord (in pixels)
Definition: TUM_Event.c:169
int tumEventInit(void)
Initializes the TUM Event backend.
Definition: TUM_Event.c:229
void * QueueHandle_t
Definition: queue.h:135
int tumEventFetchEvents(int flags)
Polls all outstanding SDL Events. Should be called from Draw Loop that holds the OpenGL context.
Definition: TUM_Event.c:144
signed char tumEventGetMouseLeft(void)
Returns a copy of the mouse's left button status.
Definition: TUM_Event.c:196
signed short tumEventGetMouseY(void)
Returns a copy of the mouse's most recent Y coord (in pixels)
Definition: TUM_Event.c:182
QueueHandle_t buttonInputQueue
FreeRTOS queue used to obtain a current copy of the keyboard lookup table.
Definition: TUM_Event.c:46
void tumEventExit(void)
Deinitializes the TUM Event backend.
Definition: TUM_Event.c:257
signed char tumEventGetMouseRight(void)
Returns a copy of the mouse's right button status.
Definition: TUM_Event.c:207