xbox controller


vemon388

Still Fresh
Joined
Sep 29, 2003
Messages
94
Age
33
Location
Australia
Website
Visit site
ok guys this is no idea this is the reall thing i am going to make a xbox cable for the gp32 this will alow u to play snes games with out having to switch the controls
cool? or not cool? u give feed back
 
Last edited by a moderator:
:( dude why dose everybody have to get up me i can't really get snes controllers in australia but i found a deal i can get xbox controllers for $5.00 :ph34r:
 
:( dude why dose everybody have to get up me i can't really get snes controllers in australia but i found a deal i can get xbox controllers for $5.00 :ph34r:
LOL no worries - xbox controllers are quite large though, that was my main concern really. Just trying to add constructive criticism, and most certainly don't want to discourage you from trying something cool out. :)
 
Last edited by a moderator:
Why dont you spend your time trying to see how to add 2 more face buttons to the GP32 and having them act as lets say the combination of 2 other buttons.

So like when you press X, it would be as pressing SELECT+L and when you press Y, it would be as pressing SELECT+R. Since the community is pretty open i dont see why the emulator authors wouldnt add a bit of code to their emulators to support this hack.

An XBOX controller is huge, that defeats the purpose of having a PORTABLE console.
 
Why dont you spend your time trying to see how to add 2 more face buttons to the GP32 and having them act as lets say the combination of 2 other buttons.

So like when you press X, it would be as pressing SELECT+L and when you press Y, it would be as pressing SELECT+R. Since the community is pretty open i dont see why the emulator authors wouldnt add a bit of code to their emulators to support this hack.

An XBOX controller is huge, that defeats the purpose of having a PORTABLE console.
well im half way into the project and plus i don't use the gp32 as a portable console im afraid i might brake it
 
Last edited by a moderator:
T'is exactly what we need. Though I have to agree with the previous writers, the x-box controller is a bit large. I've tried to get ahold of another SNES controller myself, and it is quite hard to get one which works perfectly. Getting a working NES gamepad is next to impossible!
 
the timing-based snes controller protocol might be somewhat of a hassle to implement compared to the xbox one. Might be wrong on this though, never having done anything like this myself.

Brief on the snes contr. prot. from http://euc.jp/periphs/xbox-controller.ja.html:

Every 16.67ms (or about 60Hz), the SNES CPU sends out a 12us wide, positive going data latch pulse on pin 3. This instructs the ICs in the controller to latch the state of all buttons internally. Six microsenconds after the fall of the data latch pulse, the CPU sends out 16 data clock pulses on pin 2. These are 50% duty cycle with 12us per full cycle. The controllers serially shift the latched button states out pin 4 on every rising edge of the clock, and the CPU samples the data on every falling edge.
Each button on the controller is assigned a specific id which corresponds to the clock cycle during which that button's state will be reported. The table in section 4.0 lists the ids for all buttons. Note that multiple buttons may be depressed at any given moment. Also note that a logic "high" on the serial data line means the button is NOT depressed.

At the end of the 16 cycle sequence, the serial data line is driven low until the next data latch pulse. The only slight deviation from this protocol is apparent in the first clock cycle. Because the clock is normally high, the first transition it makes after latch signal is a high-to-low transition. Since data for the first button (B in this case) will be latched on this transition, it's data must actually be driven earlier. The SNES controllers drive data for the first button at the falling edge of latch. Data for all other buttons is driven at the rising edge of clock. Hopefully the following timing diagram will serve to illustrate this. Only 4 of the 16 clock cycles are shown for brevity.



|<------------16.67ms------------>|

12us
-->| |<--

--- ---
| | | |
Data Latch --- -----------------/ /---------- --------...


Data Clock ---------- - - - -/ /---------------- - ...
| | | | | | | | | | | |
- - - - - -
1 2 3 4 1 2

Serial Data ---- --- ----/ / ---
| | | | | |
(Buttons B --- --- --- ----------
& Select norm B SEL norm
pressed). low low
12us
-->| |<--


cheers

/motten
 
um im not trying to get you down, but, an xbox controller is expecting 5v as it is a usb device. I don't think 2 AAs are gonna cut it

if I remember correctly, ps2 controllers want 7v(but im not sure)
 
Back
Top