From 7e590a9d3751e4c806735b37d5dac497e9c7fdf6 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 24 May 2011 11:32:36 +0000 Subject: [PATCH] Allow buttons 6 and 7 to be used as well so that we can get horizontal wheel events. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4442 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/xserver/hw/vnc/Input.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc index f36244a4..f304d0e0 100644 --- a/unix/xserver/hw/vnc/Input.cc +++ b/unix/xserver/hw/vnc/Input.cc @@ -72,7 +72,7 @@ using namespace rfb; static LogWriter vlog("Input"); -#define BUTTONS 5 +#define BUTTONS 7 static int pointerProc(DeviceIntPtr pDevice, int onoff); static int keyboardProc(DeviceIntPtr pDevice, int onoff); -- 2.39.5