Help with setting the space mouse button to F10 system wide please

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
GaryAtlan82
Posts: 2
Joined: Sun Apr 09, 2023 5:34 am

Help with setting the space mouse button to F10 system wide please

Post by GaryAtlan82 »

I have the space mouse pro at the office, I love it its a pleasure to work with, I also have the space mouse wireless for when I am going to clients/contractors offices or just out and about.

Something that has proven to be quite frustrating is configuring the space mouse, I need F10 mapped to the right button but globally, so that no matter what software is active, F10 is always triggered.

I cant find a way to do this on the software, the 3DX software requires me to do this per software, I did it for 4 software's but I have so many software's, including the ones specific clients want me to use that week.

This is frustrating and is ruining what has otherwise been an excellent set of products.
Is there a way to achieve this? I don't mind changing configuration files around, I really need a solution.

This change is only intended for my portable workstation, the space mouse pro is always connected to my office machine, so would not be affected.

Thank you for any help on this matter.
Sincerely,
Gary Atlan
jwick
Moderator
Moderator
Posts: 3456
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Help with setting the space mouse button to F10 system wide please

Post by jwick »

You can't do this with the GUI (and the GUI probably does not show that this is assigned).
You can put the assignment into your Global.xml file, which overrides all other assignments.

Copy one of those F10 assignments you made for a specific application into %appdata%\3Dconnexion\3DxWare\Cfg\Global.xml.
This should do it (using the pre-created F10 macro):

Code: Select all

<Global>...
   <Devices>...
       <Device>
           <ID>ID_ProductID_C62E</ID>
           <Name>SpaceMouse Wireless</Name>
...
           <Button>
             <Input>
               <ActionID>HIDButton_2</ActionID>
             </Input>
             <Output>
                <ActionID>KB_F10</ActionID>
             </Output>
           </Button>
...
         </Device>
         ...
       </Devices>
       ...
 </Global>
 
GaryAtlan82
Posts: 2
Joined: Sun Apr 09, 2023 5:34 am

Re: Help with setting the space mouse button to F10 system wide please

Post by GaryAtlan82 »

Hello, thank you for getting back to me.
jwick wrote: Mon Apr 10, 2023 1:57 am You can't do this with the GUI (and the GUI probably does not show that this is assigned).
You can put the assignment into your Global.xml file, which overrides all other assignments.
This is reassuring, I was dreading this would not be possible as I had looked all over the GUI.

Yesterday I tried to follow your guide.
my copy of this Global.xml is just a file with a single line:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><Global Default="false" xmlns="" CfgFormatVersion="1.3" ThisFileVersion=""><CfgProperties><ID>ID_Global_Cfg</ID><Name>STR_GLOBALCFG</Name><InheritsFromID>ID_Global_Cfg</InheritsFromID></CfgProperties><AuthorInfo><DriverVersion>17.8.10.19684</DriverVersion><LastChange><Tool>3DxService.exe</Tool><Version>17.8.10.19684</Version><Date>2023:4:3:12:18:18:53:970</Date><User>Gary</User></LastChange><Created><Tool>3DxService.exe</Tool><Version>17.8.10.19684</Version><Date>2023:4:3:12:18:18:53:971</Date><User>Gary</User></Created></AuthorInfo><Settings><InstallerAutoCheckForUpdates>true</InstallerAutoCheckForUpdates><LastAutoCheckForUpdates>12-4-2023</LastAutoCheckForUpdates></Settings></Global>
It does not look similar to your XML sample. Do you know how I can get a copy or perhaps a way I can generate the right file?
jwick
Moderator
Moderator
Posts: 3456
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Help with setting the space mouse button to F10 system wide please

Post by jwick »

It's a good thing that you asked. I was missing a very important detail.
Give this a try (replace your file contents with this):

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<Global Default="false" xmlns="" CfgFormatVersion="1.3" ThisFileVersion="">
	<CfgProperties>
		<ID>ID_Global_Cfg</ID>
		<Name>STR_GLOBALCFG</Name>
		<InheritsFromID>ID_Global_Cfg</InheritsFromID>
	</CfgProperties>
	<AuthorInfo>
		<DriverVersion>17.8.10.19684</DriverVersion>
		<LastChange>
			<Tool>3DxService.exe</Tool>
			<Version>17.8.10.19684</Version>
			<Date>2023:4:3:12:18:18:53:970</Date>
			<User>Gary</User>
		</LastChange>
		<Created>
			<Tool>3DxService.exe</Tool>
			<Version>17.8.10.19684</Version>
			<Date>2023:4:3:12:18:18:53:971</Date>
			<User>Gary</User>
		</Created>
	</AuthorInfo>
	<Settings>
		<InstallerAutoCheckForUpdates>true</InstallerAutoCheckForUpdates>
		<LastAutoCheckForUpdates>12-4-2023</LastAutoCheckForUpdates>
	</Settings>
    <Devices>
		<Device>
		  <ID>ID_ProductID_C62E</ID>
		  <Name>SpaceMouse Wireless</Name>
		  <ButtonBank Global="true">
			<ID>Global Global</ID>
			<Name>Global</Name>
			<InheritsFromID/>
			<Button>
			  <Input>
				<ActionID>HIDButton_2</ActionID>
			  </Input>
			  <Output>
				<ActionID>KB_F10</ActionID>
			  </Output>
			</Button>
		  </ButtonBank>
		</Device>
	</Devices>
</Global>
Post Reply