Space Mouse

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Coiler
Posts: 114
Joined: 29 Nov 2020, 09:06

Space Mouse

Post by Coiler » 17 Feb 2021, 11:50

Is anyone familiar with the Space Mouse by "3D Connexion"? (https://3dconnexion.com/us/)

First, the point.
I want to simulate whatever commands the Space Mouse is sending, which apps (like Z-Brush) respond to, with AHK. First, I'm wondering what type of events the Space Mouse broadcasts? And second, I'm wondering if AHK has any capability to detect and/or simulate those events? Not having the device myself makes it difficult to figure this out. I should probably just buy one, but I'm too damn poor.

Now, the reason. -Reading the rest of this post is optional!
I have been building a rather complex script that assists with using Z-Brush, Photoshop, Substance Painter, etc, with a Tartarus (Tartarus V2 / Tartarus Pro / any generic keypad / a normal keyboard) with the left hand as they use a pen with the right hand (or vice versa for lefties). I don't personally own the Space Mouse, but since Z-Brush recently started supporting its outputs, I am very interested in simulating that output, if possible.

If any of you use Z-Brush, then you know how limited its camera navigation customization is - the user currently cannot specify a custom hotkey (or etc) to control the various navigation methods. They are stuck with mouse button navigation, using various awkward combinations of Alt and Ctrl. I have made some decent AHK functions that allow controlling pan/orbit/zoom using single keys while hovering the pen, but doing so has subtle side effects when the timing is off or the CPU lags, because Z-Brush apparently does not buffer its input events sequentially. So my current implementation requires various insertions of Sleep() here and there to make sure Z-Brush can hear what its saying.

Anyway, I've rambled enough. I appreciate any assistance or thoughts on this topic.


Bertrand
Posts: 11
Joined: 25 Jun 2022, 22:08

Re: Space Mouse

Post by Bertrand » 25 Jun 2022, 22:31

I'm using a spacemouse, and I want to scale of input by calculate current view size of 3d cad...

But it looks AHK can't reading spacemouse's input.

I will leave it here after I found the way

franklin_pierce
Posts: 3
Joined: 04 Jan 2022, 11:07

Re: Space Mouse

Post by franklin_pierce » 15 Aug 2022, 09:30

Would AHKHID not work with this?

I haven't tried yet myself.

https://github.com/jleb/AHKHID

Bertrand
Posts: 11
Joined: 25 Jun 2022, 22:08

Re: Space Mouse

Post by Bertrand » 27 Sep 2022, 23:14

franklin_pierce wrote:
15 Aug 2022, 09:30
Would AHKHID not work with this?

I haven't tried yet myself.

https://github.com/jleb/AHKHID
Yeah I tried that some months ago, that was not work for me.

I couldn't get space mouse's inputs by AHKHID

Kim

Post Reply

Return to “Ask for Help (v1)”