Jump to content

milkmans_son

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by milkmans_son

  1. Hi everyone,

     

    I'm encountering a strange problem with the reading of the touchscreen coordinates: I expected the values for x to range from 0 to 256 and for y from 0 to 192 (to match the pixel coordinates). Thats what's implied by this tutorial: http://www.dev-scene.com/NDS/Tutorials_Day_3#Touching_things (by the line VRAM_A[touch.px + touch.py * 256] = rand(); )

     

    However, when I run the example the coordiantes lie between 0/0 (upper left) and 3570/3330 (lower right). Am I supposed to scale the coordinates? Or do I have to modify the "Calibration"-Segment in the dualis.ini (if so: how?)?

     

    Thanks for your advice!

     

    BTW: Im using dualis 20.4 and deviktPro 1-4-4.

×
×
  • Create New...