This is a simple question.
Is it possible to handle data from two spacenavigator devices connected to my machine?
In other words, is there a way to register for callbacks on two separate devices within the same application?
Thanks!
-jt
Search found 3 matches
- Tue Aug 07, 2007 3:53 pm
- Forum: Developer's Forum for macOS
- Topic: Multiple devices?
- Replies: 4
- Views: 28245
- Tue Aug 07, 2007 3:51 pm
- Forum: Developer's Forum for macOS
- Topic: Not receiving events from spawned Cocoa thread.
- Replies: 2
- Views: 22909
Yes! Thanks. This helped me immensely. What I needed to do is create a port and continue to run the thread's run loop. // Install message handler and register our client oserr = InstallConnexionHandlers(SNHandler, 0L, 0L); fConnexionClientID = RegisterConnexionClient(...) [[NSRunLoop currentRunLoop]...
- Sat Aug 04, 2007 3:41 pm
- Forum: Developer's Forum for macOS
- Topic: Not receiving events from spawned Cocoa thread.
- Replies: 2
- Views: 22909
Not receiving events from spawned Cocoa thread.
Hi, I'm trying to integrate the spacenavigator into my cocoa app, and really need the event handling to be done in another thread. In my app initialization, I set up the thread like this: [NSThread detachNewThreadSelector:@selector(setupSN:) toTarget:[self retain] withObject:self]; - (void)setupSN:(...