#egui #sdl2 #events #input

egui-sdl2-event

Provides event handling for egui in SDL2 window applications

5 unstable releases

0.3.0 Jan 15, 2024
0.2.2 Sep 17, 2022
0.2.1 Sep 15, 2022
0.2.0 Sep 14, 2022
0.1.0 Jun 13, 2022

#700 in GUI

30 downloads per month

MIT license

15KB
297 lines

egui-sdl2-event

Provides event handling for egui when SDL2 is used as the windowing system.

This crate does not perform any rendering, but it can be combined with something like the egui-wgpu backend.

Most of the code is just adaptively copied from egui_sdl2_gl

Simple example program.

You might be interested in checking out egui_sdl2_platform as it seems to be doing the same job with more simplicity. egui_sdl2_platform depends on egui_wgpu_backend whereas egui-sdl2-event depends directly on the internal egui's wgpu implementation egui-wgpu.

Dependencies

~27MB
~430K SLoC