From 818e1558b0dcfd0238a9eb9bb86fb103e63483b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 24 Dec 2017 21:47:54 +0100 Subject: Add the direction in the mouse wheel events --- c_src/esdl2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c_src/esdl2.h') diff --git a/c_src/esdl2.h b/c_src/esdl2.h index c265110..8fcca31 100644 --- a/c_src/esdl2.h +++ b/c_src/esdl2.h @@ -37,6 +37,7 @@ A(close) \ A(crosshair) \ A(data) \ + A(direction) \ A(enter) \ A(error) \ A(event) \ @@ -296,6 +297,7 @@ NIF_FUNCTIONS(NIF_FUNCTION_H_DECL) NIF_ATOM_TO_ENUM_FUNCTION_DECL(atom_to_bool, SDL_bool) NIF_ATOM_TO_ENUM_FUNCTION_DECL(atom_to_blend_mode, SDL_BlendMode) NIF_ENUM_TO_ATOM_FUNCTION_DECL(blend_mode_to_atom, SDL_BlendMode) +NIF_ENUM_TO_ATOM_FUNCTION_DECL(mousewheel_direction_to_atom, Uint32) // -- -- cgit v1.2.3