Implement high precision scrolling with the trackpad on platforms such as macOS and Wayland that implement it.

Fixes #819. Note that I have no idea whether the code works well on
retina screens, might have to multiple the pixel count by the scale
factor on those screens?
This commit is contained in:
Kovid Goyal
2018-08-24 11:00:58 +05:30
parent 0e0e25f986
commit 009ef54de7
13 changed files with 56 additions and 46 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ void enter_event();
void mouse_event(int, int);
void focus_in_event();
void wakeup_io_loop(bool);
void scroll_event(double, double);
void scroll_event(double, double, int);
void fake_scroll(int, bool);
void set_special_key_combo(int glfw_key, int mods, bool is_native);
void on_key_input(int key, int scancode, int action, int mods, const char*, int);