;; This is a scheme port of the touch demo distributed with devkitpro. ;; There are a number of main entry points, each of them with differing ;; levels of abstraction to test out any problems with gambitds. ;; It also serves as an example of how to make your own programs. (c-declare #< #include #include #include touchPosition touchXY; c-declare-end ) (c-initialize "initTimers();") (include "../../ds-lib-gambit/ds-lib.scm") (include "../../ds-lib-gambit/irq.scm") (include "../../ds-lib-gambit/video.scm") (define whole-c-program (c-lambda () void #<