25 lines
476 B
C++
25 lines
476 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include "api/module.h"
|
|
#include "api/request.h"
|
|
|
|
namespace api::modules {
|
|
|
|
class Touch : public Module {
|
|
public:
|
|
Touch();
|
|
|
|
private:
|
|
bool is_sdvx;
|
|
bool is_tdj_fhd;
|
|
|
|
// function definitions
|
|
void read(Request &req, Response &res);
|
|
void write(Request &req, Response &res);
|
|
void write_reset(Request &req, Response &res);
|
|
void apply_touch_errata(int &x, int &y);
|
|
|
|
};
|
|
}
|