Old versions of libnds required to write arm7 touch screen handling code by hand. New versions include a default handler that provides touhscreen access directly from arm9, so usually you don't need to do it by hand