From 6d44f22dbe46e4c8e6e0fa370b08cfcabbe223d0 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Mon, 14 Feb 2011 14:16:24 -0600 Subject: [PATCH] still works, nothing serious yet --- src/arch/InputHandler/InputHandler_DirectInputHelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp b/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp index 3be1b98398..72565bb357 100644 --- a/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp +++ b/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp @@ -348,12 +348,12 @@ static BOOL CALLBACK DIMouse_EnumDevObjectsProc(LPCDIDEVICEOBJECTINSTANCE dev, L input_t in; // todo: check mask for accuracy -aj - const int SupportedMask = DIDFT_BUTTON | DIDFT_PSHBUTTON; + const int SupportedMask = DIDFT_BUTTON; if(!(dev->dwType & SupportedMask)) return DIENUM_CONTINUE; // unsupported // xxx: does this check for scrollwheels? -aj - if(dev->dwType & (DIDFT_BUTTON | DIDFT_PSHBUTTON) ) { + if(dev->dwType & DIDFT_BUTTON ) { in.type = in.BUTTON; in.num = device->buttons; device->buttons++;