Search found 1822 matches

by jwick
Wed Sep 11, 2019 12:51 am
Forum: Developer's Forum for Windows
Topic: Get button events
Replies: 3
Views: 10910

Re: Get button events

Any button on any device can be sent directly to the app. For obvious reasons the driver implements certain buttons: Shift, Ctrl, Alt, etc. On some devices, such as the two button devices, we have preassigned piemenus. These in effect give the user many more than two buttons. To send the buttons dir...
by jwick
Wed Sep 11, 2019 12:27 am
Forum: Developer's Forum for Windows
Topic: C#| Override controls | VIZRT
Replies: 10
Views: 5680

Re: C#| Override controls | VIZRT

You are a victim of the unfriendly nature of SiGrabDevice(true) (exclusive grab). It's a last in flag. The last one to set it will get it. If you set it after VIZRT has set it, you will get it. Assuming they don't set it again and fight with you. I think the Grab request is logged into our log file,...
by jwick
Mon Sep 09, 2019 4:57 am
Forum: Windows Discussion Forum
Topic: CadMouse Wireless Macro problem
Replies: 10
Views: 549

Re: CadMouse Wireless Macro problem

It looks like the Control key was pressed, followed by Alt key, then the Tab key.

I don't have that key on my keyboard to test. Possibly it is implemented in the kb as a Ctrl+Alt combination.
But if it works it works.
by jwick
Mon Sep 09, 2019 3:58 am
Forum: Windows Discussion Forum
Topic: CadMouse Wireless Macro problem
Replies: 10
Views: 549

Re: CadMouse Wireless Macro problem

That's terrific. Hopefully others will find this post useful.

You might want to add the explicit release of E0 and E2. The driver will try to release them for you if it notices a new application coming in focus. Having control keys stuck down makes for a bad day.
by jwick
Mon Sep 09, 2019 2:27 am
Forum: Windows Discussion Forum
Topic: CadMouse Wireless Macro problem
Replies: 10
Views: 549

Re: CadMouse Wireless Macro problem

When you use our GUI to create a macro, it will write the needed codes into %appdata%\3Dconnexion\3DxWare\Cfg\Revit.xml (if you have Revit in focus at that time). You can't create exactly the complex macro you want in the GUI because the O/S will intercept the keys before they get to the GUI. You ha...
by jwick
Mon Sep 09, 2019 1:45 am
Forum: Windows Discussion Forum
Topic: CadMouse Wireless Macro problem
Replies: 10
Views: 549

Re: CadMouse Wireless Macro problem

Those are hex HID usage codes. It is far easier to just record them in our GUI with your current kb layout. Record whatever keys work for you in Revit (one at a time).
by jwick
Mon Sep 09, 2019 1:08 am
Forum: Windows Discussion Forum
Topic: Cycle apps within Revit
Replies: 4
Views: 309

Re: Cycle apps within Revit

by jwick
Mon Sep 09, 2019 1:05 am
Forum: Windows Discussion Forum
Topic: CadMouse Wireless Macro problem
Replies: 10
Views: 549

Re: CadMouse Wireless Macro problem

The OS gets in the way of recording some of these macros (e.g., Alt+Tab thinks you want to switch apps). You should be able to create this macro by editing the XML. To keep the OS from acting on them, create a kb macro for each of the pieces. The combine them. E.g., <MacroEntry> <ID>Ctrl-Win-Right A...
by jwick
Fri Sep 06, 2019 12:17 am
Forum: Developer's Forum for Windows
Topic: Using SDL with the SpaceMouse...some keys don't do anything....and the display
Replies: 18
Views: 959

Re: Using SDL with the SpaceMouse...some keys don't do anything....and the display

OK. Let us know if you need more help.

Everything does go through the cfg files. That's how all the various pieces of software communicate with each other.
by jwick
Thu Sep 05, 2019 7:07 am
Forum: Developer's Forum for Windows
Topic: C#| Override controls | VIZRT
Replies: 10
Views: 5680

Re: C#| Override controls | VIZRT

Our SDK has a function, SiGrabDevice, that your tool can use to grab the data from the device regardless of which application has focus.

It's not a very nice thing to do to other 3D programs. They will not get data if they use our SDK.
by jwick
Thu Sep 05, 2019 12:20 am
Forum: Developer's Forum for Windows
Topic: Detect press of both buttons 'simultaneously'
Replies: 1
Views: 309

Re: Detect press of both buttons 'simultaneously'

You will get a separate press and release event of each button.
Left Press, Right Press... (both pressed) ...Left Release, Right Release.
Where Left/Right will appear in whatever order the user pressed/released them.
by jwick
Wed Sep 04, 2019 11:41 pm
Forum: Developer's Forum for Windows
Topic: Using SDL with the SpaceMouse...some keys don't do anything....and the display
Replies: 18
Views: 959

Re: Using SDL with the SpaceMouse...some keys don't do anything....and the display

Are you seeing your commands & icons in our GUI? The Action Interface just exports your commands to our GUI. It doesn't also assign these actions to the buttons. The user (you?) uses our GUI to assign commands, from the Action lists you exported, to the SME buttons (1-12). Those assignments are save...
by jwick
Wed Sep 04, 2019 12:29 am
Forum: Developer's Forum for Windows
Topic: Using SDL with the SpaceMouse...some keys don't do anything....and the display
Replies: 18
Views: 959

Re: Using SDL with the SpaceMouse...some keys don't do anything....and the display

.which I means the user can move a mouse pointer around on the LCD display and select commands. I haven't seen this. Is the LCD a touch screen? No. But wouldn't that be nice? Maybe a future version. The GUI I am referring to is our "3DxSmartUI.exe" program that gets launched from our systray icon, ...
by jwick
Mon Sep 02, 2019 12:28 am
Forum: Developer's Forum for Windows
Topic: Using SDL with the SpaceMouse...some keys don't do anything....and the display
Replies: 18
Views: 959

Re: Using SDL with the SpaceMouse...some keys don't do anything....and the display

The action interface allows your app to export commands and, optionally, icons to our GUI. The user can then assign them to the SME buttons.

There can be many levels of commands (like directories on a hard drive). But you don't need to supply more than one level if it is not necessary.
by jwick
Fri Aug 30, 2019 4:27 am
Forum: Developer's Forum for Windows
Topic: 3DxWare SDK
Replies: 1
Views: 373

Re: 3DxWare SDK

Hello Sergiy, It is difficult to find out which physical button was actually pressed. This is on purpose. As new hardware devices get introduced, physical buttons come and go. We can't force ISVs to change their code each time we introduce a new hardware device. We suggest that your code handle the ...