• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

DS2Key - Use the DS as a PC gamepad

Started by AnalogMan, January 19, 2006, 09:40:41 PM

Previous topic - Next topic

AnalogMan

http://www.1emulation.com/forums/index.php?s=508999e56e13bf962f3f82f3b6bf9dc0&showtopic=16818

by Sypherce.

Summary:
Basically, a program runs on your computer that picks up the signals from your DS when you press a button and changes it into a keyboard key. This is great for emulators (especially SNES) just configure the controls to the corresponding keyboard keys and your DS becomes a wireless SNES controller for your PC. *uses a modified sgstair wifi lib

Requirements:

A home network. Whether you have an AP wifi card, or a simple wireless router, doesn't matter

Instructions:

Open the .bat file and edit the IP address to your computers IP address (if you don't know your IP address, open Command prompt and type 'ipconfig' that should give you a 192.168.x.x number. That's it).

Run the bat file, a window should stay open, you have to keep this open for as long as you want to play.

Run the DS2Key homebrew and choose connect to AP and choose your network.

Set the destination IP to your computers IP (the same in the bat file)

Push buttons and enjoy :)

You can also edit what keyboard keys that are assigned to the DS buttons. I've changed the keys to match the shortcut key combos in Windows Media Player to make a very effective WMP controller. I can play/pause, change volume, move up/down on my playlist and toggle full screen while still lying on my bed with my DS.


AC:WW
=====
Code: 1289-1089-1950
Name: Sark
Town: Konoha
Fruit: All

wgz4life

Sounds cool, so is there any other site we can find out more info, since 1emulation has disable the menus?

rocky

I cant seem to get it to work,
I extract the files to my computer
then I run the ds2key.bat file
it opens comand prompt but then it disaperar I can see it says
the folder name  then abounch of numbers on the second line and on the third one it says "could not bind name to socket" I cant figure it out. do I need to run something else or change some settings in the internet connections?

wgz4life

can anyone email me the files or link to the download?

wgz4life@hotmail.com


AnalogMan

The problem with it opening and closing is that you need to edit the .bat file with a text program like notepad. You can right click it and open with notepad, or just open notepad, under file types select view all file types, and open the .bat. Once you edit the IP address to match your own it should stay open when you run it from now on.

http://forum.gbadev.org/viewtopic.php?t=8196&postdays=0&postorder=asc&start=0

GBA Dev forum with more posts.


AC:WW
=====
Code: 1289-1089-1950
Name: Sark
Town: Konoha
Fruit: All

wgz4life

thanks
I tried it out, but couldnt get it working.

rocky

Okay I got it to stay open but now what do I do? they dont give very good instructions.

wgz4life

OK I got it working

I had to turned off my WEP


On the DS connect to my router then put my computer IP address

got it working that way

monk456l

ok, i got it all working but how do you change the numbers for certain combos on a keyboard, for example arrow up or arrow down? a tutorial of somesort would be nice...

darkuni

What a kick ass idea .. however, I'm not having any luck getting this working.

I SEARCH, find my router ... Change WEP to 64bit (as I am) and enter the key proper.

It says CONNECTED (some boxes float around the screen) but it INSTANTLY goes to a TEST UDP menu, and the UDP test doesn't appear to work.

Thoughts?  This is a killer idea ... I can't wait to make it work.
hane R. Monroe,
Co-Host of Dual Screen Radio
My Hacking Page | My DS List

monk456l

try disabling WEP, it seems to not work with it on, thats what i had to do and it worked perfectly, just cant get these keys workin :?:  :?:

Cyprien Walker

windows doesnt let me work with my ds how can i fix it i get a error saying that some unown ip is conected but it doesnt work and it did work one time only the cmd console entert alot of actions so my pc slowed down alot becouse of that.

Cyprien Walker

windows doesnt let me work with my ds how can i fix it i get a error saying that some unown ip is conected but it doesnt work and it did work one time only the cmd console entert alot of actions so my pc slowed down alot becouse of that.

EDIT: it works but its keeping repeating the same key i pressed so my windows is going nuts :s i puch one button on my ds and that button keeps repeating in the console :S FIX :S

Nero

Finally got it working. This is really cool stuff. I'm more inpressed every day by this machine (and by the homebrew makers of course).

Here's a quick guide how to make it work (somewhat edited from gbadev):

Open the .bat file and put 192.168.X.X as the IP ( the IP of your computer)
Run the .bat file.
Rename the DS2Key.ds.gba file to DS2Key.nds and copy it to SuperCard.
Run DS2Key Homebrew on DS
Connect to AP
Search for AP
Choose your AP
Set IP address to 192.168.X.(X+1) (i.e something else than your computer's ip)
Press Connect
Select UDP Test
Press Accept
Press EDIT next to DestIP
Type 192.168.X.X (IP to your computer)
Press Accept
Have fun
Slot-1-
R4 DS fw 1.08

-Slot-2-
SuperCard SD - fw 1.70 / w. Superkey