FreeRTOS Tetris
|
Header file for input.c. More...
#include "tetrisConfig.h"
Go to the source code of this file.
Data Structures | |
struct | debounce_button |
Structure for debouncing buttons. More... | |
struct | buttons_buffer |
Structure for keyboard inputs. More... | |
Typedefs | |
typedef struct debounce_button | debounce_button_t |
Structure for debouncing buttons. | |
typedef struct buttons_buffer | buttons_buffer_t |
Structure for keyboard inputs. | |
Functions | |
void | vGetButtonInput () |
Read the current button input from buttonInputQueue & write it into buttons. | |
bool | bGameDebounceButton (char currentState, bool *previousState) |
Simple function for debouncing input buttons. More... | |
bool | bGUIPushButton (const coord_t lowBound, const coord_t highBound) |
Create a push-button between 2 boundaries. More... | |
int | iInputInit () |
Initialize the input module. More... | |
Variables | |
buttons_buffer_t | buttons |
Object representing the keyboard buttons. | |
Header file for input.c.