Results 1 to 6 of 6

Thread: Wiimote Driver for OSX released

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    52
    Posts
    139,516
    Blog Entries
    3209
    Rep Power
    50

    Rev Wiimote Driver for OSX released

    Cliff posted this news:

    I'm working on a virtual HID device driver that derives from IOHIDDevice, but at the moment it's a bit crashy due to L2CAP packets failing somewhat randomly. Here is a userland app that pairs with the device properly. You can look at the normal interrupt packets from the Wii Remote using Apple's Bluetooth PacketLogger.

    RVL Enabler (Just press Search in the Device Discovery window and it will find and pair any Wii Remotes that are discoverable)

    The secret sauce here is:

    [wiiDevice openConnection];
    [wiiDevice performSDPQuery:nil];
    IOBluetoothL2CAPChannel* cchan;
    if ([wiiDevice openL2CAPChannelSync:&cchan withPSM:17 delegate:self] == kIOReturnSuccess)
    printf("Control Channel opened.\n");
    IOBluetoothL2CAPChannel* ichan;
    if ([wiiDevice openL2CAPChannelSync:&ichan withPSM:19 delegate:self] == kIOReturnSuccess)
    printf("Interrupt Channel opened\n");

    Then you can write with [cchan writeSync:buffer:length]

    To read, implement - (void)l2capChannelDataIOBluetoothL2CAPChannel*)l2capChannel datavoid *)dataPointer lengthsize_t)dataLength;

    Basically, I'm implementing Bluetooth HID myself on top of the L2CAP stack.

    -Cliff

    Download Via Comments

  2. #2
    DCEmu Newbie
    Join Date
    Sep 2006
    Posts
    17
    Rep Power
    0

    Default

    OMFG, can't wait to try this ;-D Good Luck with it!

  3. #3
    DCEmu Newbie
    Join Date
    Sep 2006
    Posts
    17
    Rep Power
    0

    Default

    Now all we need now is to use the Classic Controller and play some emulators..

  4. #4

    Default

    Thanks for not giving a source, Wraggster.

    First posted here: http://www.wiili.org/forum/osx-wiimo...bler-t229.html

  5. #5
    DCEmu Rookie Xiro's Avatar
    Join Date
    Apr 2006
    Posts
    124
    Rep Power
    66

    Default

    he said "Cliff posted this news"...

  6. #6
    PS Beta Tester & Mod DPyro's Avatar
    Join Date
    Feb 2006
    Location
    Right Behind You!
    Posts
    2,742
    Rep Power
    82

    Default

    Windows version here

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •