Updated for 8 ...
This commit is contained in:
parent
7c81992a2d
commit
0fdc1caebb
1 changed files with 7 additions and 7 deletions
|
@ -38,7 +38,7 @@ int main ( int, char ** )
|
||||||
|
|
||||||
for ( i = 0 ; i < Z ; i++ )
|
for ( i = 0 ; i < Z ; i++ )
|
||||||
if ( useful[i] )
|
if ( useful[i] )
|
||||||
printf ( "+---------------JS.%d-----------------", i ) ;
|
printf ( "+--------------------JS.%d----------------------", i ) ;
|
||||||
|
|
||||||
printf ( "+\n" ) ;
|
printf ( "+\n" ) ;
|
||||||
|
|
||||||
|
@ -46,15 +46,15 @@ int main ( int, char ** )
|
||||||
if ( useful[i] )
|
if ( useful[i] )
|
||||||
{
|
{
|
||||||
if ( js[i]->notWorking () )
|
if ( js[i]->notWorking () )
|
||||||
printf ( "| ~~~ Not Detected ~~~ " ) ;
|
printf ( "| ~~~ Not Detected ~~~ " ) ;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf ( "| Btns " ) ;
|
printf ( "| Btns " ) ;
|
||||||
|
|
||||||
for ( j = 0 ; j < js[i]->getNumAxes () ; j++ )
|
for ( j = 0 ; j < js[i]->getNumAxes () ; j++ )
|
||||||
printf ( "Ax:%d ", j ) ;
|
printf ( "Ax:%1d ", j ) ;
|
||||||
|
|
||||||
for ( ; j < 6 ; j++ )
|
for ( ; j < 8 ; j++ )
|
||||||
printf ( " " ) ;
|
printf ( " " ) ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ int main ( int, char ** )
|
||||||
|
|
||||||
for ( i = 0 ; i < Z ; i++ )
|
for ( i = 0 ; i < Z ; i++ )
|
||||||
if ( useful[i] )
|
if ( useful[i] )
|
||||||
printf ( "+------------------------------------" ) ;
|
printf ( "+----------------------------------------------" ) ;
|
||||||
|
|
||||||
printf ( "+\n" ) ;
|
printf ( "+\n" ) ;
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ int main ( int, char ** )
|
||||||
if ( useful[i] )
|
if ( useful[i] )
|
||||||
{
|
{
|
||||||
if ( js[i]->notWorking () )
|
if ( js[i]->notWorking () )
|
||||||
printf ( "| . . . . . . . . . " ) ;
|
printf ( "| . . . . . . . . . . . " ) ;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int b ;
|
int b ;
|
||||||
|
@ -85,7 +85,7 @@ int main ( int, char ** )
|
||||||
for ( j = 0 ; j < js[i]->getNumAxes () ; j++ )
|
for ( j = 0 ; j < js[i]->getNumAxes () ; j++ )
|
||||||
printf ( "%+.1f ", ax[i][j] ) ;
|
printf ( "%+.1f ", ax[i][j] ) ;
|
||||||
|
|
||||||
for ( ; j < 6 ; j++ )
|
for ( ; j < 8 ; j++ )
|
||||||
printf ( " . " ) ;
|
printf ( " . " ) ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue