21 lines
379 B
C++
21 lines
379 B
C++
#pragma once
|
|
#include "tft_handler.h"
|
|
#include "event_manager.h"
|
|
#include "GLOBALS.h"
|
|
#include "icons.h"
|
|
#include <Arduino.h>
|
|
|
|
class InputManager {
|
|
private:
|
|
Mouse_Icon mi;
|
|
TFT_Handler* _tf;
|
|
DISPLAY_STATE* _display_state;
|
|
|
|
void handle_keyboard_input(char key);
|
|
|
|
public:
|
|
void init(DISPLAY_STATE* display_state, TFT_Handler* tf);
|
|
void update();
|
|
void draw_button();
|
|
};
|