14 static void press(input in
){
15 if(in
.button
== ESCAPE_KEY
){
20 console_printf("pausing music");
25 console_printf("playing music");
26 music_play(MUS_TEST1
);
31 static void release(input in
){
43 set_handler(update
, draw
, press
, release
);
46 if(music_load("running_hell.mid", MUS_TEST1
) < 0){
47 printf("open music failed\n");
50 printf("open music worked\n");
51 music_play(MUS_TEST1
);