-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
#ifndef __INCLUDE_EASY_INPUT_H__ | ||
#define __INCLUDE_EASY_INPUT_H__ | ||
|
||
typedef enum buttons{ | ||
EASY_INPUT_UP, | ||
EASY_INPUT_DOWN, | ||
EASY_INPUT_LEFT, | ||
EASY_INPUT_RIGHT, | ||
EASY_INPUT_BACK, | ||
EASY_INPUT_ENTER, | ||
EASY_INPUT_NUMBER_OF_BUTTON_TYPES | ||
} buttons_t; | ||
#include "freertos/FreeRTOS.h" | ||
#include "freertos/queue.h" | ||
|
||
void easy_input_queue_init(QueueHandle_t *input_queue); | ||
void easy_input_push_button_task( void *input_queue ); | ||
typedef enum buttons{ | ||
EASY_INPUT_UP, | ||
EASY_INPUT_DOWN, | ||
EASY_INPUT_LEFT, | ||
EASY_INPUT_RIGHT, | ||
EASY_INPUT_BACK, | ||
EASY_INPUT_ENTER, | ||
EASY_INPUT_NUMBER_OF_BUTTON_TYPES | ||
} buttons_t; | ||
|
||
void easy_input_queue_init(QueueHandle_t *input_queue); | ||
void easy_input_push_button_task( void *input_queue ); | ||
|
||
#endif |