RadiAnt DICOM Viewer - Discussion Forum
Multi button mouse

Jul 11, 2019 07:46 PM
by Lukash
Thank you for great product!
Question - is there sense to buy a mouse with more then 3 buttons?
Can I set a functions for 5 buttons at once (browse, image window, zoom, measurement and pan)?
Jul 12, 2019 02:03 PM
by RadiAnt
RadiAnt only lets you customize the left, middle an right mouse buttons.
Some mouse drivers could possibly let you specify certain macros that you can assign to additional buttons. However, we didn't test such option.
Jul 13, 2019 03:28 PM
by boskar
On the other hand "back" and "forward" buttons are now pretty common and supported since quite a long time in windows, known in the Windows API as XBUTTON1 and XBUTTON2

docs.microsoft.com/en-us/windows/win32/learnwin32/mouse-clicks or docs.microsoft.com/en-us/windows/win32/inputdev/about-mouse-input#xbuttons

I don't know what toolkits are You using (whatever You use - don't change it) but I suppose adding them should be relatively easy (comparing to other complex features requested here).

source.winehq.org/git/wine.git/blob/HEAD:/dlls/winex11.drv/mouse.c could be helpful here.

On the other hand when You touch it it might be worth "making space" for more buttons, for example with dwExtraInfo, but that's "a bit" beyond the API.
forums.highrez.co.uk/viewtopic.php?f=6&t=620&p=2919#p2919 Maybe using game controller as extra hook would be a good idea?
Jul 15, 2019 10:17 AM
by RadiAnt
Please check our latest 5.1.2 BETA, it supports the back/forward mouse buttons.
Jul 15, 2019 01:58 PM
by boskar
It works (tested in wine-4.12.1 staging).
Of course it would be perfect If they are configurable as easily as LMB, MMB and RMB.
Jul 15, 2019 02:02 PM
by boskar
and thank You! : )
Jul 15, 2019 05:24 PM
by RadiAnt
The updated beta ( lets you click on the toolbar with the extended buttons and assign specific tools to them.
Post reply
Author (first name or pseudonym):


You have to accept cookies to be able to post messages.
Visitors can post messages on the forum without having to register. Please input your first name or pseudonym in the "Author" field. Do not publish any personally identifiable information (PII).

Please ensure you write your posts in English so that our international audience can understand and reply to your message.

The Administrator reserves the right to remove any messages that violate our forum rules; for example, those that are not related to the RadiAnt DICOM Viewer software, published in a language other than English, contravene regulations, etc.