gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Motion Sensor > Motion Sensing dspad

#135478 - KeithE - Mon Jul 23, 2007 9:10 pm

Here is an application to turn your DS into a motion sensing USB gamepad. You'll need a DS Motion Card or MK6-motion or R6 gold for the motion sensing, and an MK5 (or clone) GBA slot USB linker. Plug all the cards in, plug the USB cable into your computer, and run the application. Presto - a motion sensing game controller.

There is no GUI, and no customization/calibration. Calibration can be done with your OS joystick calibration utility. No drivers for the computer are needed.

I made this several months ago, and was procrastinating releasing it. Darkfader asked for it, so I quickly updated it with the new DS Motion functions, and you can download it here.

Enjoy!

#135490 - spinal_cord - Mon Jul 23, 2007 10:47 pm

Shame I don't have USB linker :(
Sounds like a fun thing to have. Would be fun to try and play some N64 games by tilting.... If only someone could wright a patch for Mario64DS, ho well.
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#135497 - Dood77 - Mon Jul 23, 2007 11:30 pm

spinal_cord wrote:
Shame I don't have USB linker :(
Sounds like a fun thing to have. Would be fun to try and play some N64 games by tilting.... If only someone could wright a patch for Mario64DS, ho well.

I've got a bluetooth adapter that I use with my wiimote, and thanks to some useful programs I can play mariokart64 with it. B-)
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC

#135503 - spinal_cord - Tue Jul 24, 2007 12:16 am

but can you imagine playing m64ds using the motion card! better than that stylus control.
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#135617 - Dood77 - Wed Jul 25, 2007 12:09 am

Well I dunno about that, seems sort of a gimmicky thing to me, but it would be fun to try out. Better I think would be mario kart DS, except it doesn't do variable speeds of turning...
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC

#135621 - darkfader - Wed Jul 25, 2007 12:19 am

KeithE wrote:
Here is an application to turn your DS into a motion sensing USB gamepad. You'll need a DS Motion Card or MK6-motion or R6 gold for the motion sensing, and an MK5 (or clone) GBA slot USB linker. Plug all the cards in, plug the USB cable into your computer, and run the application. Presto - a motion sensing game controller.

Thanks KeithE. It works great.

#135797 - tepples - Thu Jul 26, 2007 12:56 pm

Dood77 wrote:
Well I dunno about that, seems sort of a gimmicky thing to me, but it would be fun to try out. Better I think would be mario kart DS, except it doesn't do variable speeds of turning

A steering wheel or the like gives a stream of instantaneous rotations distributed near-continuously in [-1, 1], and you have to map this into the discrete {-1, 0, 1} instantaneous rotation values that SMK, MKSC, and MKDS accept. Because you know that the rotations are going into an integrator (that is, the longer you hold left, the farther to the left your vehicle turns), you can use delta-sigma pulse density modulation. For example, if the player is turning the wheel one-fourth to the left, press Left one out of every four frames.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#136081 - Dood77 - Sat Jul 28, 2007 10:37 pm

tepples wrote:
Dood77 wrote:
Well I dunno about that, seems sort of a gimmicky thing to me, but it would be fun to try out. Better I think would be mario kart DS, except it doesn't do variable speeds of turning

A steering wheel or the like gives a stream of instantaneous rotations distributed near-continuously in [-1, 1], and you have to map this into the discrete {-1, 0, 1} instantaneous rotation values that SMK, MKSC, and MKDS accept. Because you know that the rotations are going into an integrator (that is, the longer you hold left, the farther to the left your vehicle turns), you can use delta-sigma pulse density modulation. For example, if the player is turning the wheel one-fourth to the left, press Left one out of every four frames.

Ah, good point. Is something like this possible in Nitrohax? (probably not?) It would be cool to see this work, even steering with the touch screen.
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC

#162653 - cualquiercosa327 - Sun Sep 07, 2008 1:48 pm

Hello,could you post the sources?
I am trying to add more functionalitys to ds-pad (other devices as
wario twisted,yoshi tupsy,gh,paddle controler,...

thanks

#162960 - HyperHacker - Wed Sep 17, 2008 4:40 am

Have you considered reverse-engineering the USB ports on the DS Action Replay and GBA Gameshark? I have both, so maybe I could help with that. It's an idea I've toyed with before, but never really got around to.

And yes, sources would be nice.
_________________
I'm a PSP hacker now, but I still <3 DS.

#163018 - cualquiercosa327 - Thu Sep 18, 2008 8:00 pm

mmm,it sound dificult.And i think it would better implement again ,we have code of dsmotion work.
using ar codes is something also we wanna implement.
see ds universal pad post.help is welcome