projects
/
physik
/
nlsop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implemented plot support for carbon concentration in amorphous, crystalline or both...
[physik/nlsop.git]
/
dfbapi.c
diff --git
a/dfbapi.c
b/dfbapi.c
index
0fe54dc
..
11c1128
100644
(file)
--- a/
dfbapi.c
+++ b/
dfbapi.c
@@
-340,7
+340,7
@@
int d3_event_init(d3_lattice *d3_l)
return 1;
}
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;
{
DFBInputEvent ke;
@@
-360,6
+360,11
@@
int scan_event(d3_lattice *d3_l,int *x,int *y,int *z,int *q,int *esc,int *switch
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_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;
}
return 1;