mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
in_sdl: allow external event handler
This commit is contained in:
parent
a4025790b5
commit
9227a7770e
2 changed files with 16 additions and 4 deletions
3
in_sdl.h
3
in_sdl.h
|
@ -1,3 +1,4 @@
|
|||
struct in_default_bind;
|
||||
|
||||
void in_sdl_init(const struct in_default_bind *defbinds);
|
||||
void in_sdl_init(const struct in_default_bind *defbinds,
|
||||
void (*handler)(void *event));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue