]> source.dussan.org Git - tigervnc.git/commitdiff
Allow buttons 6 and 7 to be used as well so that we can get horizontal
authorPierre Ossman <ossman@cendio.se>
Tue, 24 May 2011 11:32:36 +0000 (11:32 +0000)
committerPierre Ossman <ossman@cendio.se>
Tue, 24 May 2011 11:32:36 +0000 (11:32 +0000)
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

index f36244a4fe1baec1a2c05325499aa74d8870e402..f304d0e047eb1c26c1ccc3bdd58d7598bc8ef3f5 100644 (file)
@@ -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);