From 72dd62157793bbac5d46d1364e26b5b6396b9965 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 18 Aug 2013 14:01:55 -0400 Subject: [PATCH] fixed reversed const definitions See http://hg.libsdl.org/SDL/file/8f71b590aff6/include/SDL_events.h#l49 --- src/SDL2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index e9b83b0..5bf3ba8 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -2332,8 +2332,8 @@ namespace SDL2 #region SDL_events.h /* General keyboard/mouse state definitions. */ - public const byte SDL_PRESSED = 0; - public const byte SDL_RELEASED = 1; + public const byte SDL_PRESSED = 1; + public const byte SDL_RELEASED = 0; /* Default size is according to SDL2 default. */ public const int SDL_TEXTEDITINGEVENT_TEXT_SIZE = 32;