Search found 8 matches

by andyc
Tue Mar 27, 2007 4:09 am
Forum: Developer's Forum for Windows
Topic: Using with Tcl/Tk
Replies: 5
Views: 17484

Yes - it's using the Si stuff.

space_mouse_init() does all the initialization and check_for_space_mouse_event() uses SiGetEvent etc.
by andyc
Tue Mar 27, 2007 3:53 am
Forum: Developer's Forum for Windows
Topic: Using with Tcl/Tk
Replies: 5
Views: 17484

Tcl/TK will support multiple threading but it would make the implementation of this very messy. Tcl/TK waits on GetMessage so you need to wedge in there (using the standard Tcl/Tk notification and event sources is useless in this case). We have solved the problem like this - I hope this is useful to...
by andyc
Sat Mar 24, 2007 6:27 am
Forum: Developer's Forum for Windows
Topic: How to detect zoom direction
Replies: 8
Views: 23154

Thanks Jim,

Andy
by andyc
Sat Mar 24, 2007 12:35 am
Forum: Developer's Forum for Windows
Topic: How to detect zoom direction
Replies: 8
Views: 23154

Thanks for your help Jim,

Is there any way to do the equiv. of APP_CONTROLS_BUTTONS = TRUE without a config file? Our software is Tcl/Tk and it doesn't use Windows config files.

If I can just read the axis setup, that will be all I need.

Thanks,

Andy
by andyc
Fri Mar 23, 2007 7:03 am
Forum: Developer's Forum for Windows
Topic: How to detect zoom direction
Replies: 8
Views: 23154

Umm - I don't like that. I want people to be abe to fly the with the same controls, whatever they have set up for the zoom directrion. Is this the same info that's given by SiSyncGetOrientation? SPWint32 axes[6]; SiSyncGetOrientation( devHdl, axes ); for (int n=0; n < 6; n++) printf("axis %d %x...
by andyc
Fri Mar 23, 2007 6:33 am
Forum: Developer's Forum for Windows
Topic: How to detect zoom direction
Replies: 8
Views: 23154

Yes I understand this - but how do I detect this has changed?

The cityfly demo doesn't detect it - you can no longer rotate.

I am programming for flying.

Andy
by andyc
Fri Mar 23, 2007 5:25 am
Forum: Developer's Forum for Windows
Topic: How to detect zoom direction
Replies: 8
Views: 23154

How to detect zoom direction

How do I detect which Zoom direction is selected in the user control panel (Device configuration).

I need to know because some users set their zoom direction to up/down and this breaks/switches rotation (try the cityfly demo)
by andyc
Mon Mar 19, 2007 9:24 am
Forum: Developer's Forum for Windows
Topic: Using with Tcl/Tk
Replies: 5
Views: 17484

Using with Tcl/Tk

Has anyone got a device going with Tcl/Tk? I've spent many days trying to get it working properly and have come to the conclusion that because Windows Tcl/Tk is also waiting on GetMessage, it's probably impossible to write an event loop that works correctly. I have tried using the tcl event source s...