diff options
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +#include "app.hpp" +extern "C" { +#include "plat.h" +} + +int main() { + App* app = App::create("c2"); + app->running = 1; + while (app->running) { + app->begin(); + if (app->mp(mbtn_left)) + print("%d, %d, %d\n", app->mx, app->my, app->scrolly); + app->end(); + } + app->destroy(); +} |