-int glutJoystickGetNumAxes ( int ident )
- { return fgJoystick[ident]->num_axes; }
-int glutJoystickNotWorking ( int ident )
- { return fgJoystick[ident]->error; }
-
-float glutJoystickGetDeadBand ( int ident, int axis )
- { return fgJoystick[ident]->dead_band [ axis ]; }
-void glutJoystickSetDeadBand ( int ident, int axis, float db )
- { fgJoystick[ident]->dead_band [ axis ] = db; }
-
-float glutJoystickGetSaturation ( int ident, int axis )
- { return fgJoystick[ident]->saturate [ axis ]; }
-void glutJoystickSetSaturation ( int ident, int axis, float st )
- { fgJoystick[ident]->saturate [ axis ] = st; }
-
-void glutJoystickSetMinRange ( int ident, float *axes )
- { memcpy ( fgJoystick[ident]->min , axes, fgJoystick[ident]->num_axes * sizeof(float) ); }
-void glutJoystickSetMaxRange ( int ident, float *axes )
- { memcpy ( fgJoystick[ident]->max , axes, fgJoystick[ident]->num_axes * sizeof(float) ); }
-void glutJoystickSetCenter ( int ident, float *axes )
- { memcpy ( fgJoystick[ident]->center, axes, fgJoystick[ident]->num_axes * sizeof(float) ); }
-
-void glutJoystickGetMinRange ( int ident, float *axes )
- { memcpy ( axes, fgJoystick[ident]->min , fgJoystick[ident]->num_axes * sizeof(float) ); }
-void glutJoystickGetMaxRange ( int ident, float *axes )
- { memcpy ( axes, fgJoystick[ident]->max , fgJoystick[ident]->num_axes * sizeof(float) ); }
-void glutJoystickGetCenter ( int ident, float *axes )
- { memcpy ( axes, fgJoystick[ident]->center, fgJoystick[ident]->num_axes * sizeof(float) ); }
+int glutJoystickGetNumAxes( int ident )
+{
+ return fgJoystick[ ident ]->num_axes;
+}
+int glutJoystickNotWorking( int ident )
+{
+ return fgJoystick[ ident ]->error;
+}
+
+float glutJoystickGetDeadBand( int ident, int axis )
+{
+ return fgJoystick[ ident ]->dead_band [ axis ];
+}
+void glutJoystickSetDeadBand( int ident, int axis, float db )
+{
+ fgJoystick[ ident ]->dead_band[ axis ] = db;
+}
+
+float glutJoystickGetSaturation( int ident, int axis )
+{
+ return fgJoystick[ ident ]->saturate[ axis ];
+}
+void glutJoystickSetSaturation( int ident, int axis, float st )
+{
+ fgJoystick[ ident ]->saturate [ axis ] = st;
+}
+
+void glutJoystickSetMinRange( int ident, float *axes )
+{
+ memcpy( fgJoystick[ ident ]->min, axes,
+ fgJoystick[ ident ]->num_axes * sizeof( float ) );
+}
+void glutJoystickSetMaxRange( int ident, float *axes )
+{
+ memcpy( fgJoystick[ ident ]->max, axes,
+ fgJoystick[ ident ]->num_axes * sizeof( float ) );
+}
+void glutJoystickSetCenter( int ident, float *axes )
+{
+ memcpy( fgJoystick[ ident ]->center, axes,
+ fgJoystick[ ident ]->num_axes * sizeof( float ) );
+}
+
+void glutJoystickGetMinRange( int ident, float *axes )
+{
+ memcpy( axes, fgJoystick[ ident ]->min,
+ fgJoystick[ ident ]->num_axes * sizeof( float ) );
+}
+void glutJoystickGetMaxRange( int ident, float *axes )
+{
+ memcpy( axes, fgJoystick[ ident ]->max,
+ fgJoystick[ ident ]->num_axes * sizeof( float ) );
+}
+void glutJoystickGetCenter( int ident, float *axes )
+{
+ memcpy( axes, fgJoystick[ ident ]->center,
+ fgJoystick[ ident ]->num_axes * sizeof( float ) );
+}