From aa5b8eba10fb1122c64c42122bfd48d7a7c7d745 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 20 Aug 2010 11:30:30 +0000 Subject: Extend mouse code to support up to 8 buttons (allows mouse wheel to be used). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1958 --- src/i_video.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/i_video.h') diff --git a/src/i_video.h b/src/i_video.h index bd5de24a..94ffcc29 100644 --- a/src/i_video.h +++ b/src/i_video.h @@ -28,10 +28,11 @@ #ifndef __I_VIDEO__ #define __I_VIDEO__ - #include "doomtype.h" -typedef struct +#define MAX_MOUSE_BUTTONS 8 + +typedef struct { // Screen width and height -- cgit v1.2.3