viz1090/Input.h
nathan 92d4bf928e fixed std:chrono issues
Former-commit-id: 2461384e0f6e6c638c2fadd8eb0263fc6d8d5dac
2020-06-14 15:26:26 -07:00

25 lines
362 B
C++

#ifndef INPUT_H
#define INPUT_H
#include "AppData.h"
#include "View.h"
#include <chrono>
class Input {
public:
void getInput();
//should input know about view?
Input(AppData *appData, View *view);
View *view;
AppData *appData;
std::chrono::high_resolution_clock::time_point touchDownTime;
int touchx;
int touchy;
int tapCount;
};
#endif