Driveshell forum


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
marlo  
#1 Posted : Monday, December 14, 2015 9:47:42 PM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
Hi guys,
I did a bit coding with XML files to get the spacenavigator working like a USB Keyboard.
This way I have 14 keys which simulates Keyboard presses.
The latest driver official driver for spacenavigator does NOT allow this feature but with driver v 10-0-22 it is possible.

youtube spacenavigator with Lasse FE
joan  
#2 Posted : Monday, December 14, 2015 10:48:04 PM(UTC)
joan

Rank: Advanced Member

Groups: Registered
Joined: 10/12/2015(UTC)
Posts: 93
Spain
Location: Barcelona

Thanks: 1 times
Cool!
CarPCs:Mazda6+RX8My project
UserPostedImage
marlo  
#3 Posted : Tuesday, December 15, 2015 12:22:36 AM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
Originally Posted by: joan Go to Quoted Post
Cool!


Thank you!

Next I will change the LEDs of the Spacenavigator to red or white.
I don´t like blue LEDs.
After that I have to create some panel with fiberglass to integrate the Spacenavigator "OEM looking" into my car.

One of my winter project I guess.
Admin  
#4 Posted : Tuesday, December 15, 2015 9:12:30 PM(UTC)
Admin (Lasse)

Rank: Administration

Groups: Administrators
Joined: 9/16/2015(UTC)
Posts: 1,325
Man
Denmark

Thanks: 10 times
Was thanked: 61 time(s) in 50 post(s)
Looks very good and the commands seems to be working very well..

marlo  
#5 Posted : Tuesday, December 15, 2015 10:13:54 PM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
Originally Posted by: Admin Go to Quoted Post
Looks very good and the commands seems to be working very well..



Yeah I have tested the spacenavigator for a few days now on my home pc with your FE.
The driver for it seems to be very stable so far.
No problem controlling the FE with it.
joan  
#6 Posted : Tuesday, December 15, 2015 11:07:35 PM(UTC)
joan

Rank: Advanced Member

Groups: Registered
Joined: 10/12/2015(UTC)
Posts: 93
Spain
Location: Barcelona

Thanks: 1 times
Originally Posted by: marlo Go to Quoted Post
Originally Posted by: Admin Go to Quoted Post
Looks very good and the commands seems to be working very well..



Yeah I have tested the spacenavigator for a few days now on my home pc with your FE.
The driver for it seems to be very stable so far.
No problem controlling the FE with it.


Interesting. In my RX-8 I plan to use some keys from the stock navigation system, but in my other car this could be a good solution. Please keep us informed.
CarPCs:Mazda6+RX8My project
UserPostedImage
marlo  
#7 Posted : Saturday, January 2, 2016 11:47:12 PM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
Good news,guys.

I emailed to the support of 3Dconnexion.
With the help of them I managed it to write a xml profile for the spacenavigator.
With this profile called "Desktop mode" it is possible to use the SN as a mouse and a keyboard AT THE SAME TIME.
So if you tilt the knob in X or Y axxis it works like a mouse and you can use the two buttons as mouse buttons.
All other funktions are sending keyboard commands.

AND THE BEST OF ALL:This profile works with all official drivers!!
zaiss  
#8 Posted : Saturday, January 16, 2016 10:56:43 AM(UTC)
zaiss

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 853
Man
Italy
Location: Milano

Thanks: 29 times
Was thanked: 7 time(s) in 7 post(s)
HI guys,

I bought a space navigator used by ebay and I tried it with the last official driver of the file "desktop.xml" that Marlo has kindly provided me, everything is OK.
At the moment I set only the commands for the next and previous track, volume (to try it), and launch IGO.
For those interested, I can say that is an object built very well, know that it weighs 450g.!

thanks to marlo and lasse:-)

bye
marlo  
#9 Posted : Saturday, January 16, 2016 2:17:12 PM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
Originally Posted by: zaiss Go to Quoted Post
HI guys,

I bought a space navigator used by ebay and I tried it with the last official driver of the file "desktop.xml" that Marlo has kindly provided me, everything is OK.
At the moment I set only the commands for the next and previous track, volume (to try it), and launch IGO.
For those interested, I can say that is an object built very well, know that it weighs 450g.!

thanks to marlo and lasse:-)

bye



Alright!

Good to know that my "desktop.xml" is working for you.
You can customize "desktop.xml" if you want to get other keyboard commands from SpaceNavigator.
The keycommands I setted up there are very rare used keyboard commands,just to avoid any conflicts with Windows or other software.
If you do not need all axis or the mousfunction just type FALSE behind "Enabled" in section Device/Axis

So you see,all configuration happens in "desktop.xml".

To change the keyboard commands you need this:

USB HID table

Edited by user Saturday, January 16, 2016 7:04:42 PM(UTC)  | Reason: Not specified

marlo  
#10 Posted : Saturday, January 16, 2016 7:11:27 PM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
If anyone is interested in my code,here it is:

<?xml version="1.0" encoding="UTF-8"?>
<!--
(c) Copyright 3Dconnexion. All rights reserved.
$Revision: 11488 $
-->
<AppCfg Default="true" xmlns="" CfgFormatVersion="1.1" ThisFileVersion="1.0">
<!--
Desktop is a profile for switching to/from desktop-wide operations. You get to it via the
Driver_Desktop_ToggleGrab button action. This ButtonAction should be assigned to the same
button in each profile that you want to switch from, so you can use that button as a toggle.
When you toggle into this profile, you have a hard-grab and all events go here until you
toggle out. When you toggle out, you go back to the regular arbitration scheme.

This is useful to toggle into 2D mouse mode, navigate to a different application window
with MouseX/Y and switch to it with LeftMouse, then toggle back to 3D mouse mode.
Certainly other desktop-wide operations could be imagined.

-->
<AppInfo>
<Name>STR_DESKTOP</Name>
<VersionRange>
<Min>1.0</Min>
<Max>1.0</Max>
</VersionRange>
<ExecutableName/>
<ApplicationIcon>Windows.ico</ApplicationIcon>
<Transport>KMJ</Transport>
</AppInfo>
<CfgProperties>
<Grab>Hard</Grab>
</CfgProperties>
<ButtonActions>
<ButtonAction Type="Driver">
<ID>Driver_ShowDriverGUI</ID>
<Name>STR_DRIVER_SHOWDRIVERGUI</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_ShowDriverPopupMenu</ID>
<Name>STR_DRIVER_SHOWDRIVERPOPUPMENU</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_ToggleTranslations</ID>
<Name>STR_DRIVER_TOGGLETRANSLATIONS</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_ToggleRotations</ID>
<Name>STR_DRIVER_TOGGLEROTATIONS</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_ToggleDominantFilter</ID>
<Name>STR_DRIVER_TOGGLEDOMINANTFILTER</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_TogglePanOnly</ID>
<Name>STR_DRIVER_TOGGLEPANONLY</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_ToggleZoomOnly</ID>
<Name>STR_DRIVER_TOGGLEZOOMONLY</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_DecreaseAppScale</ID>
<Name>STR_DRIVER_DECREASEAPPSCALE</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_IncreaseAppScale</ID>
<Name>STR_DRIVER_INCREASEAPPSCALE</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_ResetAppScale</ID>
<Name>STR_DRIVER_RESETAPPSCALE</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_RezeroDevice</ID>
<Name>STR_DRIVER_REZERODEVICE</Name>
</ButtonAction>
<ButtonAction Type="Driver">
<ID>Driver_Toggle_3DxNumPad</ID>
<Name>STR_DRIVER_TOGGLE_3DXNUMPAD</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_Start_Search</ID>
<Name>STR_DRIVER_START_SEARCH</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_Start_Mail</ID>
<Name>STR_DRIVER_START_MAIL</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_Start_Browser</ID>
<Name>STR_DRIVER_START_BROWSER</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_Start_Skype</ID>
<Name>STR_DRIVER_START_SKYPE</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_Start_MediaPlayer</ID>
<Name>STR_DRIVER_START_MEDIAPLAYER</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_MediaPlayer_Mute</ID>
<Name>STR_DRIVER_MEDIAPLAYER_MUTE</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_MediaPlayer_DecreaseVolume</ID>
<Name>STR_DRIVER_MEDIAPLAYER_DECREASEVOLUME</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_MediaPlayer_IncreaseVolume</ID>
<Name>STR_DRIVER_MEDIAPLAYER_INCREASEVOLUME</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_MediaPlayer_PreviousTrack</ID>
<Name>STR_DRIVER_MEDIAPLAYER_PREVIOUSTRACK</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_MediaPlayer_Play</ID>
<Name>STR_DRIVER_MEDIAPLAYER_PLAY</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_MediaPlayer_Pause</ID>
<Name>STR_DRIVER_MEDIAPLAYER_PAUSE</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_MediaPlayer_NextTrack</ID>
<Name>STR_DRIVER_MEDIAPLAYER_NEXTTRACK</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_Browser_PreviousPage</ID>
<Name>STR_DRIVER_BROWSER_PREVIOUSPAGE</Name>
</ButtonAction>
<ButtonAction Type="Driver_Other">
<ID>Driver_Browser_NextPage</ID>
<Name>STR_DRIVER_BROWSER_NEXTPAGE</Name>
</ButtonAction>
<!-- Keyboard Functions -->
<ButtonAction Type="Keyboard">
<ID>KB_Esc</ID>
<Name>STR_KB_ESC</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_Alt</ID>
<Name>STR_KB_ALT</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_Shift</ID>
<Name>STR_KB_SHIFT</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_Ctrl</ID>
<Name>STR_KB_CTRL</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_End</ID>
<Name>STR_KB_END</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_Home</ID>
<Name>STR_KB_HOME</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_UpArrow</ID>
<Name>STR_KB_UPARROW</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_DownArrow</ID>
<Name>STR_KB_DOWNARROW</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_LeftArrow</ID>
<Name>STR_KB_LEFTARROW</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_RightArrow</ID>
<Name>STR_KB_RIGHTARROW</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_PageUp</ID>
<Name>STR_KB_PAGEUP</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_PageDown</ID>
<Name>STR_KB_PAGEDOWN</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F1</ID>
<Name>STR_KB_F1</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F2</ID>
<Name>STR_KB_F2</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F3</ID>
<Name>STR_KB_F3</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F4</ID>
<Name>STR_KB_F4</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F5</ID>
<Name>STR_KB_F5</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F6</ID>
<Name>STR_KB_F6</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F7</ID>
<Name>STR_KB_F7</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F8</ID>
<Name>STR_KB_F8</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F9</ID>
<Name>STR_KB_F9</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F10</ID>
<Name>STR_KB_F10</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F11</ID>
<Name>STR_KB_F11</Name>
</ButtonAction>
<ButtonAction Type="Keyboard">
<ID>KB_F12</ID>
<Name>STR_KB_F12</Name>
</ButtonAction>
<ButtonAction Type="Mouse">
<ID>HIDMouse_Left</ID>
<Name>STR_MOUSE_LEFT</Name>
</ButtonAction>
<ButtonAction Type="Mouse">
<ID>HIDMouse_Middle</ID>
<Name>STR_MOUSE_MIDDLE</Name>
</ButtonAction>
<ButtonAction Type="Mouse">
<ID>HIDMouse_Right</ID>
<Name>STR_MOUSE_RIGHT</Name>
</ButtonAction>
</ButtonActions>
<Devices>
<Device>
<Name>Standard 3D Mouse</Name>
<VendorID>0</VendorID>
<ProductID>0</ProductID>
<AxisFilter>None</AxisFilter>
<CurrentButtonBank>Default</CurrentButtonBank>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_X</ActionID>
<Min>0</Min>
<Max>511</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>4F</Key>
</KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_X</ActionID>
<Min>-512</Min>
<Max>0</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>50</Key>
</KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Y</ActionID>
<Min>0</Min>
<Max>511</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>51</Key>
</KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Y</ActionID>
<Min>-512</Min>
<Max>0</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>52</Key>
</KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Z</ActionID>
<Min>0</Min>
<Max>511</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>E1</Key>
</KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Z</ActionID>
<Min>-512</Min>
<Max>0</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>E0</Key>
</KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rx</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>0</Deadband>
</Input>
<Output>
<ActionID>HIDMouse_Y</ActionID>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Ry</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>0</Deadband>
</Input>
<Output>
<ActionID>HIDMouse_X</ActionID>
<Reversed>true</Reversed>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rz</ActionID>
<Min>0</Min>
<Max>511</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>55</Key>
</KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rz</ActionID>
<Min>-512</Min>
<Max>0</Max>
<Deadband>200</Deadband>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>54</Key>
</KeyStroke>
</Output>
</Axis>
<ButtonBank Default="true">
<Name>STR_DEFAULT_BUTTONBANK</Name>
<ID>Default</ID>
<Button>
<Input>
<ActionID>V3DK_1</ActionID>
</Input>
<Output>
<ActionID>Driver_Toggle_3DxNumPad</ActionID>
</Output>
</Button>
</ButtonBank>
</Device>
</Devices>
</AppCfg>




Just put this in Windows editor and save it as "Desktop.xml".
If you install the driver for SpaceNavigator there will be also a file named "desktop.xml" be installed.
All you need to do now is changing that file with mine.
What you get then is a combination of mouse and keyboard in a very good looking device ;)

Edited by user Saturday, January 16, 2016 9:26:59 PM(UTC)  | Reason: Not specified

joan  
#11 Posted : Saturday, January 16, 2016 9:18:11 PM(UTC)
joan

Rank: Advanced Member

Groups: Registered
Joined: 10/12/2015(UTC)
Posts: 93
Spain
Location: Barcelona

Thanks: 1 times
Great!

I save this for future.

Thanks.
CarPCs:Mazda6+RX8My project
UserPostedImage
marlo  
#12 Posted : Saturday, January 16, 2016 9:34:12 PM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
Originally Posted by: joan Go to Quoted Post
Great!

I save this for future.

Thanks.



You will need it soon,I guess ;)

Well,I can only recommend the SpaceNavigator.
Works really good,absolutely no problems so far.
zaiss  
#13 Posted : Friday, February 26, 2016 7:53:50 AM(UTC)
zaiss

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 853
Man
Italy
Location: Milano

Thanks: 29 times
Was thanked: 7 time(s) in 7 post(s)
Hi all,

I followed the advice of marlo and bought one SN used.
I really like it, some photos of the installation.
Everything OK with FE Lasse





Admin (Lasse)  
#14 Posted : Friday, February 26, 2016 8:16:11 AM(UTC)
Admin (Lasse)

Rank: Administration

Groups: Administrators
Joined: 9/16/2015(UTC)
Posts: 1,325
Man
Denmark

Thanks: 10 times
Was thanked: 61 time(s) in 50 post(s)
Very nice.. looks pretty stock to me..
marlo  
#15 Posted : Friday, February 26, 2016 11:31:26 AM(UTC)
marlo

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 1,564
Man
Germany
Location: Germany

Thanks: 46 times
Was thanked: 19 time(s) in 17 post(s)
Yep good work Zaiss.

Mine is only taped in with double sided tape....for now.
I am waiting for warmer temperatures outside so I can create something with fiberglass to integrate the SpaceNavigator.
zaiss  
#16 Posted : Wednesday, September 21, 2016 5:00:10 AM(UTC)
zaiss

Rank: Advanced Member

Groups: Registered
Joined: 9/18/2015(UTC)
Posts: 853
Man
Italy
Location: Milano

Thanks: 29 times
Was thanked: 7 time(s) in 7 post(s)
If anyone if interested, I test last driver of SN and it don't working with new desktop.xml.

I reinstall old 10.3.0 and all working well.

bye
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.