We are pleased to introduce you the new development version of cadMousePro. The version v0.5 brings several improvements:
1) Remapping the buttons:
By default, the wheel when pressed sends the same signal (2) as the middle button. So it behaves like an ordinary mouse. But we can configure it to send a different signal (10).
There is also a small button behind the wheel, so-called „gesture“ button. By default, it sends no (useful) signal. But we can persuade it to send a button signal (11).
It means that we have two more useful buttons and we can assign them some actions (in our desktop environment or particular application).
2) It was reported that cadMousePro works also with CadMouse Wireless (P/N: 3DX-600054), not only the Pro model (P/N: 3DX-600065).
Thanks Paul Guertin for the report and for discovering the magic numbers needed for configuring the button mappings!
3) Bash completion script: suggests command-line options and their values and servers also like a help (regular man page and --help is on the TODO list).
--daemon true \
--frequency 250 \
--lift-off-detection true \
--remap-gesture-button true \
--remap-wheel-press true \
4) Logging on the CLI/daemon side has been improved and now prints also values:
checking mouse presence: present
reading mouse name: 3Dconnexion Universal Receiver
configuring mouse: liftOffDetection=1 smartScrolling=0 remapWheelPress=1 remapGestureButton=1 frequency=250
5) License changed from GNU GPLv3+ to GNU GPLv3.
The cadMousePro is an independent free software tool for configuring 3DConnexion CadMouse.
Source code: <https://hg.globalcode.info/mouse/cadMousePro/>
Dixit František Kučera (2020-06-08 5:01 p.m.):
> Dne 20. 05. 20 v 5:53 Paul Guertin napsal(a):
>> Hello again František,
>> Just to let you know -- I was a bit annoyed that clicking the
>> scroll wheel sent the same code as clicking the middle button,
>> and playing a bit with your code, I found a way to have
>> every button send a different code to the computer, including
>> the one behind the scroll wheel. As reported by xev, I now
>> have the following:
>> Left button = 1
>> Middle button = 2
>> Right button = 3
>> Scroll forward = 4
>> Scroll backward = 5
>> Back thumb button = 8
>> Front thumb button = 9
>> Clicking the wheel = 10
>> Button behind wheel = 11
>> All I needed was to change a couple magic constants in your
>> code. Specifically, lines 83 and 86 of CadMouseConfig.h need
>> to be changed to:
>> (constants were 0x0c and 0x2f previously).
>> I don't know if that works on the Pro version as well, but
>> feel free to add this to your code if it does.
> Thanks! This is interesting. And it works even with the Pro version.
> The wheel is then button 10 and the button behind the wheel is 11.
> I have tested it today. I will put it into the GUI and CLI options and release a new version.
> How did you found these values? It would be nice to reveal meaning of the other magic numbers.
> P.S. If you are OK with public communication, please respond to the <mouse-dev(a)lists.globalcode.info> mailing list, it might be useful for others.
I'm glad to learn it works with the Pro version as well!
I found the values by looking for constants in the code
that matched the values shown by xev, and then changing
the numbers until I got what I wanted. Pure trial and
Weeks ago, I tried to subsrcribe to the
mouse-dev(a)lists.globalcode.info mailing list, but I
never received anything and assumed the mailing list
was not functional. Can you check if this address
is listed as a member, and add me if it isn't?
I'll cc this message to the list as well.