From 6d0456c99e0c1971cffa9a3cbc65bb5fa22e5c34 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Sun, 2 Mar 2014 07:42:17 -0500 Subject: [PATCH] Double click support from SDL 2.0.2 --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index e5ce0a1..321bf92 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -3200,8 +3200,8 @@ namespace SDL2 public UInt32 which; public byte button; /* button id */ public byte state; /* SDL_PRESSED or SDL_RELEASED */ + public byte clicks; /* 1 for single-click, 2 for double-click, etc. */ private byte padding1; - private byte padding2; public Int32 x; public Int32 y; }