return 1;
}
-int scan_event(d3_lattice *d3_l,int *x,int *y,int *z,int *q,int *esc,int *switchmode,int *bmp)
+int scan_event(d3_lattice *d3_l,int *x,int *y,int *z,int *q,int *esc,int *switchmode,int *bmp,int *ac_distr)
{
DFBInputEvent ke;
if(ke.key_id==DIKI_1) *bmp=1;
if(ke.key_id==DIKI_2) *bmp=2;
if(ke.key_id==DIKI_3) *bmp=3;
+ if(ke.key_id==DIKI_4) *bmp=4;
+ if(ke.key_id==DIKI_5) *bmp=5;
+ if(ke.key_id==DIKI_A) *ac_distr=1;
+ if(ke.key_id==DIKI_C) *ac_distr=2;
+ if(ke.key_id==DIKI_B) *ac_distr=3;
}
return 1;