Added Microsoft Intellimouse emulation
This commit is contained in:
parent
09dbd1dd65
commit
7f7c11edb2
11 changed files with 92 additions and 36 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "cpu.h"
|
||||
#include "ide.h"
|
||||
#include "model.h"
|
||||
#include "mouse.h"
|
||||
#include "nvr.h"
|
||||
#include "sound.h"
|
||||
#include "thread.h"
|
||||
|
|
@ -1261,7 +1262,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
break;
|
||||
|
||||
case WM_MBUTTONUP:
|
||||
releasemouse();
|
||||
if (!(mouse_get_type(mouse_type) & MOUSE_TYPE_3BUTTON))
|
||||
releasemouse();
|
||||
break;
|
||||
|
||||
case WM_ENTERMENULOOP:
|
||||
|
|
|
|||
Loading…
Reference in a new issue