[−][src]Crate fermium
The fermium
crate is a set of bindings to SDL2, currently 2.0.9.
bindgen
is used to generate the bindings from the official SDL2 include
files. At the moment we include the following:
SDL2.h
SDL_syswm.h
SDL_vulkan.h
However, SDL_syswm.h
in particular pulls in a bunch of extra code and it
overwhelms the generated bindings. To avoid this, we only keep the following
whitelist of items:
SDL_
(functions, types, and vars)SDLK_
(vars)AUDIO_
(vars)- Anything that one of these depends on also gets pulled in.
It is thought that this will expose all needed functionality, but if you think something should be added to the whitelist please submit an issue.
Constants
SDL_TOUCH_MOUSEID | Used as the device ID for mouse events simulated with touch input |