20 lines
249 B
C
20 lines
249 B
C
|
|
#include "affichage.h"
|
||
|
|
#include<stdio.h>
|
||
|
|
#include <graph.h>
|
||
|
|
int main(void){
|
||
|
|
int k;
|
||
|
|
init_affichage();
|
||
|
|
|
||
|
|
while(1){
|
||
|
|
|
||
|
|
if (ToucheEnAttente()){
|
||
|
|
k = Touche();
|
||
|
|
if (k == XK_q)break;
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
fermer_affichage();
|
||
|
|
return 0;
|
||
|
|
}
|