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 homebrew announcements > Multitouch demo

#131035 - felix123 - Sun Jun 10, 2007 11:35 am

This program can detect if there is one or two styli on the touch screen.
Youtube video


To use:
First, press hard on the touch screen using one stylus and push A once to calibrate the system. (You can also use up and down to manually calibrate it.)
Then try touching the screen with one or more styli.

This is probably a solution looking for a problem, can anyone think of a use for this code?

Thanks to DynamicStability.

Source and binary. Feel free to use this in your program.
_________________
Nintendo DS homebrew on Wikipedia


Last edited by felix123 on Mon Jul 23, 2007 5:02 am; edited 2 times in total

#131046 - OCA| - Sun Jun 10, 2007 3:23 pm

There was a puzzle in Hotel Dusk: Room 215 that required you to flip two switches at once. Sounds like similar functionality.

Also, certain Mac laptops have separate functionality assigned to applying two fingers to the touch pad instead of one, typically for scrolling.

I'm sure someone will find a good use for it.

#131047 - dub3000 - Sun Jun 10, 2007 3:33 pm

very interesting... maybe i can add it to: http://forum.gbadev.org/viewtopic.php?t=13256

#131052 - Lynx - Sun Jun 10, 2007 5:17 pm

It's perfect for the DrummerS, as then you could hit multiple drums at one time.
_________________
NDS Homebrew Roms & Reviews

#131069 - NeX - Sun Jun 10, 2007 8:45 pm

It needs calibration.... making it useless for DrumMe. Good idea, though.
_________________
Strummer or Drummer?.
Or maybe you would rather play with sand? Sandscape is for you in that case.

#133287 - felix123 - Wed Jul 04, 2007 11:55 pm

Youtube video
_________________
Nintendo DS homebrew on Wikipedia

#133289 - moket - Thu Jul 05, 2007 12:18 am

wow. Can be very handy in some games !

#133445 - Dood77 - Fri Jul 06, 2007 7:00 am

Here I was thinking it could detect both sets of coordinates for both touch points... But cool nonetheless.
_________________
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

#133466 - felix123 - Fri Jul 06, 2007 8:58 am

DynamicStability's code can detect both sets of coordinates, I simplified his code into this.

Why I wrote this:
Taiko no Tatsujin DS will be released soon. In the arcade and PS2 versions, you hit the drum with one stick for small notes and both sticks for big notes. People kept on saying you can't hit the DS with two styli, I wrote this to prove them wrong.
_________________
Nintendo DS homebrew on Wikipedia

#133531 - Zeep - Fri Jul 06, 2007 10:11 pm

OCA| wrote:
Also, certain Mac laptops have separate functionality assigned to applying two fingers to the touch pad instead of one, typically for scrolling.

I'm sure someone will find a good use for it.


but the macbook touchpad uses an entirely different touch-sensing technology than a touchscreen.
_________________
Hardware: DS Lite & Phat (both FlashMe v7), M3 Perfect SD, PassKey 1, Max Media Launcher, SanDisk 1GB SD card

#136261 - adhdyoshi - Mon Jul 30, 2007 7:50 pm

I could swear I read somewhere before that detecting two styluses wasn't possible, but I guess I was wrong! :D
_________________
GLEEG SNAG ZIP

#136291 - spinal_cord - Tue Jul 31, 2007 12:28 am

I don't think your wrong, from what I can figure just be testing it, it remembers your touch position, then when you make a second touch it calculates it by knowing the difference between oyur original touch and what it detects from the soncnd one.
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#136417 - AaronBlood10 - Wed Aug 01, 2007 3:28 pm

Too bad the DS can't do multi-touch. That would be so awesome.
_________________
Animation program for the DS in progress
actionanimation.blogspot.com