HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 9,044 | Guests: 1271 | Members: 1 


   Current Location: Forums New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Old Xbox boot but wont load games or MS Dashboard   |   New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - XBOX Controller Controller
Xbox-Hq.Com Forum Index -> Xbox General Discussions
Post new topic Reply to topic    
 XBOX Controller Controller View previous topic :: View next topic  
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Mon May 08, 2006 6:30 am   
Post subject: XBOX Controller Controller
Reply with quote
 
What is this? It's a system that will allow basically anything that can talk udp to control an Xbox.

Why would you want to do this? I have no idea. I have my reasons, maybe you have some too.

Hi guys,

I though you might find this interesting.. lol
Someone has gone to alot of effort.. heheh

How this works: The XBOX buttons are physically pressed by arms (stiff wire) attached to servos that are controlled by a Basic Stamp 2. The BS2 is controlled by a gumstix over a serial port. The gumstix talks udp and accepts commands. So if you want to control an xbox, you basically have to talk a simple udp protocol to the gumstix.



For this I tried 2 controllers, a PSP and a Nintendo DS. The udp protocol is simple. Build a message with the status of your controller, and the system takes care of moving the physical fingers on the xbox controller. The protocol is as follows: '!!' for start of message, and '##' for end of message. The juice of the message is a 1 character button identifier, followed by a 1 byte state. 1 means the button is pressed and 0 means button is not pressed. Here is a sample message:

!!U0D0L0R1A1B0X0Y0##

The message should be self explanatory. So the controller (in this case the psp or nds) polls inputs every so often and then dumps the state. I had it all working at every 100ms, but then something happened - not sure what - so I backed it down to every 250ms. The bottle neck is on the BS2, and to keep things consistant, I just kept all polling intervals the same.

The app on the gumstix consists of 2 threads. One listens for udp commands and the other babbles out the serial port at 38.4k. The serial thread wakes up every 250 ms and sends the status of all buttons to the BS2. The status is stored in global variables that are updated by the udp thread whenever the controller sends an update.

The serial protocol to the BS2 is simple. A 'A' signifies a start of message followed by 8 bytes of status for each of the buttons currently supported. The PIC decodes this message and tells the servos to respond accordingly.

Official Site: http://www.wagonbutterworth.com/projects/xbox_controller/



xbc-c-controller.JPG
 Description:
 Filesize:  81.32 KB
 Viewed:  2 Time(s)

xbc-c-controller.JPG



_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
j8994
Moderator
Moderator


Joined: Feb 05, 2006
Posts: 1853
Location: Tennessee, USA

Post Posted: Tue May 09, 2006 3:57 am   
Post subject:
Reply with quote
 
lol i got that same xact kit lol, maybe i should fittle with this, but i want to build a program to take full control of a friends xbox, either a remote control program, or a trojan lol
_________________
Please post all PC Questions at PC-HQ.com


View user's profile Send private message
 
 
 
 
gigermunit
Xbox-HQ Experienced
Xbox-HQ Experienced


Joined: May 26, 2006
Posts: 199
Location: my room........

Post Posted: Mon May 29, 2006 3:11 pm   
Post subject:
Reply with quote
 
ooooo on the virus ur planning to make j8994 make it if u can to be ale to work on non modded xbox or if u cant put it in a SID or AID so i can mess with my buddies
_________________
I came i saw i modded.



View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
 
 
 
 
j8994
Moderator
Moderator


Joined: Feb 05, 2006
Posts: 1853
Location: Tennessee, USA

Post Posted: Mon May 29, 2006 6:42 pm   
Post subject:
Reply with quote
 
i want it to work on both, i will put it in save games for about 10 games
_________________
Please post all PC Questions at PC-HQ.com


View user's profile Send private message
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
|
 All times are GMT | Page 1 of 1
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
 


Get Xbox Game Pass Ultimate