From 44b0cc7cae2ead41da6fca188559bd39de691d54 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 12 Jun 2019 20:44:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0XB1/XB2=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/platform/InputDevice.h | 9 ++++++--- src/Platform/Win/WinMessage.cpp | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/inc/hgl/platform/InputDevice.h b/inc/hgl/platform/InputDevice.h index 553f5842..382d256f 100644 --- a/inc/hgl/platform/InputDevice.h +++ b/inc/hgl/platform/InputDevice.h @@ -10,9 +10,12 @@ namespace hgl { mbMove =0x00000001, ///<鼠标移动了 - mbLeft =0x00000010, ///<鼠标左键处于按下状态 - mbMid =0x00000100, ///<鼠标中键处于按下状态 - mbRight =0x00001000, ///<鼠标右键处于按下状态 + mbLeft =0x00000002, ///<鼠标左键处于按下状态 + mbMid =0x00000004, ///<鼠标中键处于按下状态 + mbRight =0x00000008, ///<鼠标右键处于按下状态 + + mbX1 =0x00000010, + mbX2 =0x00000020, mbShift =0x10000000, ///