site_archiver@lists.apple.com Delivered-To: Bluetooth-dev@lists.apple.com .hc On Mar 11, 2008, at 3:49 PM, Bubba Giles wrote: Hans, jason CGEventPost(kCGHIDEventTap, event); .hc Hi Luigi take a look at the Code from the DarwiinRemote Project http://sourceforge.net/projects/darwiin-remote/ Additional info on http://www.wiili.org/index.php/DarwiinRemote Best, Matthias Hi there, I am in the process of writing a driver for a HID Bluetooth device. Specifically I am talking about the Nintendo Wiiremote and accessories. I read on the Apple website that Bluetooth inquiries are not recommended and that the HID manager has built-in capabilities to deal with Bluetooth devices without even using the Bluetooth API. I would like to use the HID manager to connect to the device since at that point everything is taken care of by the OS. However I don't know if that's gonna work yet, so as a 2nd option I would like to use the Bluetooth API calls to estabilish connection to the device at a "lower level" so to speak. In the latter case the functions defined in IOBluetoothUIUserLib.h seem to be recommended over the non UI ones. Unfortunately I couldn't find any sample code anywhere. Could anybody provide some sample code or point me to resources that could help me in my project? Thanks in advance for any help. - Luigi Castelli _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... No problem about that. Do you happen to know of any example code that does use HID Manager to get data from bluetooth HID compliant devices? That would be very useful for me for a related project. Looks like I steered you wrong. I found out that he WiiRemote is not really an "official" Bluetooth device, although it does use Bluetooth technology to do its thing. Apparently the HID report data sent from it is not something that the built-in Bluetooth HID driver allows, so it does not get posted to the HID system. So, you cannot use the HID system to get the data you are looking for. Sorry for sending you down the wrong path! On Mar 11, 2008, at 11:38 AM, Hans-Christoph Steiner wrote: I also am looking for the exact same thing as Luigi was a year ago. I checked out the code for the DarwiinRemote project, but it does not seem to use HID Manager. I am guessing based on this that is it using some CoreGraphics/QuartzComposer API: Anyone have any docs, example code, or even ideas about using Bluetooth devices with HID Manager? On 02.02.2007, at 20:30, Luigi Castelli wrote: ------------------------------------------------------------ THIS E-MAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE INTENDED RECIPIENT, CONTACT THE SENDER BY E-MAIL AT email@hidden AND DESTROY ALL COPIES OF THE ORIGINAL MESSAGE. WITHOUT PREJUDICE UCC1-207. ------------------------------------------------------------ ___________________________________________________________________ _________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. --------------------------------------------------------------------- ------- I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/bubba% 40apple.com This email sent to bubba@apple.com ------------------------------------------------------------------------ ---- Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith This email sent to site_archiver@lists.apple.com
participants (1)
-
Hans-Christoph Steiner