1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00
Files
egui/egui-winit
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
..

egui-winit

Latest version Documentation unsafe forbidden MIT Apache

This crates provides bindings between egui and winit.

The library translates winit events to egui, handled copy/paste, updates the cursor, open links clicked in egui, etc.