From 95d9a8bad3e2996ea8b5f9a9c5c32259f2f04398 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 28 Nov 2005 07:45:07 +0000 Subject: [PATCH] changed buttonremap arrays to int instead of keynum_t because keynum_t is not being found for some bizarre reason no matter what I do git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5847 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_glx.c | 2 +- vid_sdl.c | 2 +- vid_wgl.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vid_glx.c b/vid_glx.c index cc503fda..35187f26 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -316,7 +316,7 @@ static void IN_Activate (qboolean grab) } } -static keynum_t buttonremap[18] = +static int buttonremap[18] = { K_MOUSE1, K_MOUSE3, diff --git a/vid_sdl.c b/vid_sdl.c index 2580104f..9047dd36 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -251,7 +251,7 @@ static int Sys_EventFilter( SDL_Event *event ) #endif } -static keynum_t buttonremap[16] = +static int buttonremap[16] = { K_MOUSE1, K_MOUSE3, diff --git a/vid_wgl.c b/vid_wgl.c index 8c118008..5b6f4b4b 100644 --- a/vid_wgl.c +++ b/vid_wgl.c @@ -469,7 +469,7 @@ void Sys_SendKeyEvents (void) LONG CDAudio_MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); -static keynum_t buttonremap[16] = +static int buttonremap[16] = { K_MOUSE1, K_MOUSE2, -- 2.39.2