-snip-
I know almost nothing about how the touch screen works, but this sets the origin of the virtual joystick to the center of the screen, which I assume would have coordinates something like 127,95 assuming it goes from 0-255,0-191. The on-screen graphic for the virtual stick is 80*80 pixels, which I presume corresponds to the actual size in terms of where the virtual stick's bounding is, so when applying virtual touches you'd want them within a range from -40 to +40 from the center on both axes, so on the X axis that would be 87-167 and on the Y axis, 55-135.
As FroggestSpirit explained in that thread, the stick still moves around on the screen, but you can ignore it, the origin is always the center of the screen, not wherever the stick is displaying.
For anyone reading along at home and not following, we were discussing the possibility of mapping the 3DS Circle Pad to the DS touch screen; with this setup, it would be theoretically possible to have full analog control in Super Mario 64 DS when played on 3DS.