- fixed a bug in pause handling of environment controller.

- added code to triple axis MAD emulation layer
This commit is contained in:
cvs
2000-12-21 07:55:04 +00:00
parent 513e2701f0
commit d3b8f38ced
15 changed files with 399 additions and 24 deletions

View File

@@ -201,7 +201,7 @@
int32 iAxis[128];
int i, iRet;
long lVal;
HistInt lData[16384];
HistInt lData[65536];
CommandList *pCom = NULL;
pHistMem self = NULL;
CounterMode eMode;
@@ -555,9 +555,9 @@
NXDputalias(Nfil,pDict,"ddmo",&iVal);
fVal = GetHistCountTime(self,pCon);
NXDputalias(Nfil,pDict,"ddtime",&fVal);
GetHistogram(self,pCon,0,0,16384,lData,16384*sizeof(HistInt));
GetHistogram(self,pCon,0,0,65536,lData,65536*sizeof(HistInt));
NXDputalias(Nfil,pDict,"ddcounts",lData);
for(i = 0; i < 128; i++)
for(i = 0; i < 256; i++)
{
iAxis[i] = i;
}