Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Just Curious, can anybody manage to WRITE to a 360 controller in windows?  (Read 847 times)

0 Members and 1 Guest are viewing this topic.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 05:43:19 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
I was working on mamehooker tonight and I thought I would hook up LED support for 360 controllers.  This isn't support via the xinput interface, so you have to do a HID write manually. 

The interface is fairly straightforward.

http://www.free60.org/GamePad

As you can see, writing to the leds *should* be easy.  0x0103XX where "XX" is the led value.  I can't get it to do anything though.  When I send the data (I'm using plain old WriteFile api, but I've tried other methods) I get a "the parameter is incorrect" error message.  Same goes for rumble.  I can receive data from the device just fine. 

I'm using a wired controller btw. 

So has anyone managed to do this?  Is there something obvious I'm missing?