
Former-commit-id: 63229bbc5bf3fb105b945f7b3e3025e624324193 Former-commit-id: f37adedb0101d03a37bfe83f09165dc83adf12cd
23 lines
304 B
C++
23 lines
304 B
C++
#ifndef INPUT_H
|
|
#define INPUT_H
|
|
|
|
#include "AppData.h"
|
|
#include "View.h"
|
|
|
|
class Input {
|
|
public:
|
|
void getInput();
|
|
|
|
//should input know about view?
|
|
Input(AppData *appData, View *view);
|
|
|
|
View *view;
|
|
AppData *appData;
|
|
|
|
uint64_t touchDownTime;
|
|
int touchx;
|
|
int touchy;
|
|
int tapCount;
|
|
};
|
|
|
|
#endif |