Hi Dean,
If it's specifically HID you're after, I've had a lot of success using the
HIDutilities code (from Apple) to put together some HID classes (just via
declares) for MachO. One day I'll do the same on Windows too. But if you
need HID on MachO only, then these might be a good way to go.
Dave.
> From: DeanG <goodmansond at gmail dot com>
> Reply-To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot
> com>
> Date: Fri, 3 Feb 2006 17:02:03 -0600
> To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
> Subject: USB Help, Fundamentals perspective
>
> I've been digging at docs and for writing a plug-in for my own USB
> integration, focusing on attach/detach notification. (Later I'll
> delve into the IOUSBHid nuances for non-standard HID device)
>
> Part I:
> I'm looking to perform similar functin in an RB for the following sample:
>
> http://developer.apple.com/samplecode/USBPrivateDataSample/listing1.html
>
> I expect I'll need to do this in a plug-in. If Declare's will get me
> there, I'm all ears.
>
> My app is a OS X daemon app. (ServiceApplication)
>
> I'm stumped on the RunLoop integration:
>
> CFRunLoopRef gRunLoop = CFRunLoopGetCurrent();
> CFRunLoopAddSource(gRunLoop, runLoopSource, kCFRunLoopDefaultMode);
>
> Can I trust this call within my plugin from either the main or child RB
> thread?
>
> (Before you declare "just try it", that's the plan, and I'vee been
> holding this post until today's discussion on the regular list came up
> about pure RB usb HID opportunities...thus want to get the
> conversation going and continue from that discussion which seemed to
> be TWAIN orientated.)
>
> Thanks in advance.
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|