1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00
Files
egui/egui-winit/src
TobTobXX ca632c5e5d egui-winit: Emulate mouse from touches (#791)
Additionally to emmiting egui::Event::Touch events, on_touch() now also
emits egui::Event::PointerButton, egui::event::PointerMoved and
egui::event::PointerGone facilitating UI usage on touchscreen devices.

If there are multiple touches, only the first one will be translated
into pointer events. This prevents situations with two pointers.
2021-10-17 20:30:22 +02:00
..