Red Hat Bugzilla – Bug 1464844
tigervnc does not support more than 7 mouse buttons
Last modified: 2017-08-24 06:28:15 EDT
Description of problem:
TigerVNC does not support a typical 9 button mouse.
Version-Release number of selected component (if applicable):
all including upstream source
Steps to Reproduce:
1. Own 9-button mouse (L/R/middle, wheel up/down, wheel L/R, back, forward)
2. view xinput/xev information via vnc and use mouse
first 7 events (through wheel L/R) are sent). Back/Forward (side buttons) are not sent.
back/Forward buttons work.
#define BUTTONS 7
This limit requires non-free software for VDI applications.
Also tested with spice and didn't have the capability of all 7 buttons.
Hmm, it seems that in the end we cannot fix it this way and actually we cannot fix ithis at all. According to specification the RFB protocol can support only up to 7 mouse buttons. I should have read the specs first.
There is possibility of defining a vnc extension, but it doesn't seem to be an easy task and I'm already overhelmed with other packages/bugs. On the other hand you can use the scratch build above where this will work, but it will break compatibility with other VNC server/clients so you can use it only with the exactly same build of tigervnc (both server and the client).