VirtuOZ wrote:Do you know how to directly convert the coordinates to VGA (480x640) resolution, or should I "play with the numbers" as well ?
adapting the numbers for VGA might actually be easier than for other resolutions, since 480x640 is exactly double the resolution of 240x320, so you could just try doubling all of the x and y values (not sure what the one z value is, but i guess either leave it the same or double it). i have no way of checking this though (i only have a 240x320 device), so if you do try this, let us know if it works. good luck!
PS make sure to use the instructions i uploaded a few posts up, and NOT the ones i uploaded earlier, as there's a small but important modification in this revised version.