absolute mouse coordinates regardless of the number of monitors attached on Linux

This commit is contained in:
loki
2021-05-11 23:51:45 +02:00
parent 1d84c8f9ce
commit 2e9a1cfbba
5 changed files with 27 additions and 24 deletions

View File

@@ -165,7 +165,7 @@ input_t input() {
return result;
}
void abs_mouse(input_t &input, int x, int y) {}
void abs_mouse(input_t &input, const touch_port_t &touch_port, float x, float y) {}
void move_mouse(input_t &input, int deltaX, int deltaY) {
INPUT i {};