You are looking at posts that were written on June 10th, 2007.
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| Jul » | ||||||
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
Posted on June 10th, 2007 by felix.
Categories: Release.
This program can detect if there is one or two styli on the touch screen.
Video
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.
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.
if (Stylus.Held){
if (((touchX * touchZ2) / (64 * touchZ1) - touchX / 64) < threshold){
//two styli
}else{
//one stylus
}
}
This is probably a solution looking for a problem, can anyone think of a use for this code?
Thanks to DynamicStability.
Posted on June 10th, 2007 by felix.
Categories: Uncategorized.
This program switches off your DS. Yeah, that’s all to it. It was made after a request on the HKCC forum, where someone wanted to save wear and tear on the power button.
The important part is
IPC->aux |= BIT(6);
on the ARM9.
Thanks to ThomasS
No copyright. Use, modify and distribute as you wish.