SpaceMouse Plus

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
Lobinhoot
Posts: 3
Joined: Sun Nov 11, 2007 8:13 pm

SpaceMouse Plus

Post by Lobinhoot »

Hi, does anyone have a complete list of commands i could use to control the spacemouse through hyperterminal? I know its best to use the api itself but the delphi code i am currently debugging opens a connection to the com port directly to communicate with the spacemouse.
I need someway to disable the left and right buttons on the spacemouse by sending some commands to the spacemouse itself through the com port. it is possible? Thanks for the help.
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

There is no way to disable the buttons.
Lobinhoot
Posts: 3
Joined: Sun Nov 11, 2007 8:13 pm

Post by Lobinhoot »

Image[/img]

Maybe i should explain abit more? I am using the space mouse in the picture above. There are two buttons by the side next to the main control on top of the existing 9 buttions(1-8 and *). By using the control panel from 3Dconnexion, i assume i am able to disable and reassign the buttons. But my question is, is there a way to disable or manipulate the buttons by sending some commands directly to the COM port?

Using Hyperterminal, the return values i get for Button 7 and right buton.....buttion 6 and left button are the same. This is my problem right now. So i have to find someway to disable the right and left buttons. It is of course most logical and efficient to use the api provided but the code i am debugging now communicates with the spacemouse directly instead of the through the API.
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

The SMP is not being initialized correctly. To get it to send the left and right buttons separately, you need to set the 2nd bit in the 2nd nibble of the Compress Mode Command. We send "c33\r". If you don't do this, those buttons get mapped to buttons 6 and 7.
me!
Posts: 3
Joined: Thu Nov 15, 2007 8:44 pm

Post by me! »

Hi, jwick:

Thanks for the reply, after try out your code "c33\r", the SMP will keep sending out some random strings through the RS232 port.

Could you give a full series of intialization codes/commands?
So we can test it out with the HyperTerminal application. Need it urgently.

By the way, we have a couple of SMP experiencing 'drifting' effort, even when left idle. All are under 6-months old. Is the spring worn? Can this be corrected with the sensitivity adjustment?
ngomes
Moderator
Moderator
Posts: 3431
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Post by ngomes »

Hi me!,
All are under 6-months old.
You have purchased new SpaceMouse Plus Serial devices less than six months ago? Or are those USB devices?
Nuno Gomes
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

The full initialization sequence for a serial SMP should be:
m3\r
c33\r
l000\r
q00\r
pAA\r
n?\r

Jim
3Dx Software Development
me!
Posts: 3
Joined: Thu Nov 15, 2007 8:44 pm

Post by me! »

Hi ngomes,

Yes, it is a SpaceMouse Plus Serial. And we are still buying this.
me!
Posts: 3
Joined: Thu Nov 15, 2007 8:44 pm

Space Mouse Plus - intialization sequence

Post by me! »

Hi jwick,

Thanks for the SMP intialization sequence you have posted.
I have tested it with the HyperTerminal on the SMP.
It didn't work.

If possible, could test it on a SMP with your sequence, that will be easy for you to understand my problem.

Basically, after the initialization, press on button 6 & left button, the SMP should send out different code to the com port.

Could you do me a favor for such test?

Our custommer is chasing behind us, really need to solve out this issue ASAP.

Thanks again for taking your precious time to read & relpy my message.
Post Reply