FreeRTOS Tetris
Data Structures | Typedefs | Functions | Variables
input.h File Reference

Header file for input.c. More...

#include "tetrisConfig.h"
Include dependency graph for input.h:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Header file for input.c.

Authors
Philipp Karg (phili.nosp@m.pp.k.nosp@m.arg@t.nosp@m.um.d.nosp@m.e)
Date
04.02.2021