Search found 15 matches

by harem
Sun Apr 19, 2020 10:34 pm
Forum: Developer's Forum for Windows
Topic: EntryPointNotFoundException calling SiOpenWinInitEx
Replies: 1
Views: 7120

Re: EntryPointNotFoundException calling SiOpenWinInitEx

Turns out this is because of an older driver and the problem is solved by falling back to the non-Ex functions if that exception is raised. Although that also means buttons don't work using the new way of doing buttons.
by harem
Sat Apr 18, 2020 5:15 pm
Forum: Developer's Forum for Windows
Topic: EntryPointNotFoundException calling SiOpenWinInitEx
Replies: 1
Views: 7120

EntryPointNotFoundException calling SiOpenWinInitEx

One user is getting EntryPointNotFoundException when my .Net application calls SiOpenWinInitEx. It works OK with other users who both do and don't have 3Dconnexion SpaceMice. Could this be caused by him having an old driver that lacks that function? Should I make it fall back to not using hints or S...
by harem
Thu Jun 27, 2019 4:35 pm
Forum: Developer's Forum for Windows
Topic: How do undo, redo, and select all work?
Replies: 5
Views: 12226

Re: How do undo, redo, and select all work?

Thanks jwick. I want to remove those menu options altogether, even from the properties button configuration window so nobody can try to assign them to a button or a menu, since they won't work correctly. I also want to add my own versions of them that use the correct shortcut keys for my application...
by harem
Mon Jun 24, 2019 4:36 pm
Forum: Developer's Forum for Windows
Topic: Quickzoom events fire twice.
Replies: 2
Views: 9224

Re: Quickzoom events fire twice.

Works. Thanks.
by harem
Sun Jun 23, 2019 7:49 pm
Forum: Developer's Forum for Windows
Topic: Quickzoom events fire twice.
Replies: 2
Views: 9224

Quickzoom events fire twice.

I don't know if this is related to my extra zero events or not but using quickzoom in or out from either the radial menu or a hardware button causes two V3DCMD_VIEW_QZ_IN/OUT events each so it ends up zooming 100x instead of 10x. In the case of the hardware button, the 1st event occurs on the button...
by harem
Sun Jun 23, 2019 5:38 pm
Forum: Developer's Forum for Windows
Topic: Extra SI_ZERO_EVENTs when slow processing SI_MOTION_EVENT
Replies: 2
Views: 9641

Extra SI_ZERO_EVENTs when slow processing SI_MOTION_EVENT

If my application spends too much time (more than about 300 ms) handling a motion event, then it receives zero events in between motion events. I know it's not good to have such slow code in an event handler, but that's how it sometimes is. The zero events trigger more slow refreshes that compound t...
by harem
Fri Jun 21, 2019 9:26 pm
Forum: Developer's Forum for Windows
Topic: How do undo, redo, and select all work?
Replies: 5
Views: 12226

Re: How do undo, redo, and select all work?

OK, but where's the default config that gets inherited from? The one in %APPDATA% contains <InheritsFrom>STR_DEFAULT_S80_V3DCMD</InheritsFrom> But there's nothing in %PROGRAMDATA%\3Dconnexion\3DxWare\Cfg How can I see the contents of STR_DEFAULT_S80_V3DCMD which presumably has the keyboard shortcuts...
by harem
Thu Jun 20, 2019 10:47 pm
Forum: Developer's Forum for Windows
Topic: How do undo, redo, and select all work?
Replies: 5
Views: 12226

How do undo, redo, and select all work?

How do undo, redo, and select all commands on the radial menu work? I find that these are automatically working in my application even though I didn't set them up. They don't cause controller events but just click events on the menu items. How is it identifying and activating them and which other co...
by harem
Thu Jun 20, 2019 2:11 pm
Forum: Developer's Forum for Windows
Topic: How to get the Fit button event.
Replies: 11
Views: 20222

Re: How to get the Fit button event.

That works! Very easy. I hope you can add all this to the SiApp sample. Seems a lot more elegant than messing around with cfg files and all the ways that can go wrong.
by harem
Sat Jun 08, 2019 4:34 pm
Forum: Developer's Forum for Windows
Topic: How to get the Fit button event.
Replies: 11
Views: 20222

Re: How to get the Fit button event.

I followed your instructions but it's still generating a new .xml file in %appdata% and apparently ignoring the one in %PROGRAMDATA%\3Dconnexion\3DxWare\Cfg. I stopped and started the driver with Stop 3DxWare and Start 3DxWare from the start menu. Is that the right way to do it? That's great you're ...
by harem
Thu Jun 06, 2019 4:27 pm
Forum: Developer's Forum for Windows
Topic: How to get the Fit button event.
Replies: 11
Views: 20222

Re: How to get the Fit button event.

When I edit that file, my application doesn't get the CMD event and the file quickly gets reverted to say STR_DEFAULT_S80 again. I also tried moving the file to %PROGRAMDATA%\3Dconnexion\3DxWare\Cfg but that seems to be ignored and the %APPDATA% one is still regenerated. What's the reason hints don'...
by harem
Wed Jun 05, 2019 6:02 pm
Forum: Developer's Forum for Windows
Topic: How to get the Fit button event.
Replies: 11
Views: 20222

Re: How to get the Fit button event.

Thanks jwick I've implemented it but it behaves exactly the same as without the hints or the Ex functions. The radial menu's fit button still only causes SI_BUTTON_* events (1,12,13). It also generates exactly the same (except for dates) Cfg file. How can I diagnose the problem? I'm using .Net and a...
by harem
Tue Jun 04, 2019 5:17 pm
Forum: Developer's Forum for macOS
Topic: Y and Z axes swapped
Replies: 2
Views: 60986

Re: Y and Z axes swapped

Hey, if you give them the same names (0-Tx, 1-Ty, 2-Tz, etc.) then it becomes a right-handed coordinate system! That's good news if it's a deliberate change away from the unconventional left-handed one that it's supposed to have.
by harem
Tue Jun 04, 2019 4:58 pm
Forum: Developer's Forum for Windows
Topic: How to get the Fit button event.
Replies: 11
Views: 20222

How to get the Fit button event.

I'm getting confused by everything I read on this topic. How should I detect when the "Fit" button is pressed? There are various constants, but I don't know what to do with them: SI_APP_FIT - an event that applications should respond to according to the SDK documentation. But it's not one ...