Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1549 → Rev 1550

/demos/trunk/input/joy.c
46,7 → 46,7
cprintf("(%6d %6d) %2x\n", a0, a1, btn);
task_endcycle();
if (btn == 0xF)
sys_end();
exit(1);
}
}
 
57,7 → 57,7
 
if (!JOY26_installed()) {
cprintf("No Joystick found.");
sys_end();
exit(1);
}
soft_task_default_model(mp);
soft_task_def_level(mp,2);
68,7 → 68,7
pid = task_create("Joy_Print", my_getjoy, &mp, NULL);
if (pid == NIL) {
sys_shutdown_message("Could not create task <Joy_Print>\n");
sys_end();
exit(1);
} else
task_activate(pid);