Metropoli BBS
VIEWER: joy.c MODE: TEXT (ASCII)
/***************************************************************************
*	NAME:  JOY.C
**	COPYRIGHT:
**	"Copyright (c) 1992, by FORTE
**
**       "This software is furnished under a license and may be used,
**       copied, or disclosed only in accordance with the terms of such
**       license and with the inclusion of the above copyright notice.
**       This software or any other copies thereof may not be provided or
**       otherwise made available to any other person. No title to and
**       ownership of the software is hereby transfered."
****************************************************************************
*  CREATION DATE: 11/18/92
*--------------------------------------------------------------------------*
*     VERSION	DATE	   NAME		DESCRIPTION
*>	1.0	11/18/92		Original
***************************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <dos.h>
#include <conio.h>

#include "forte.h"
#include "gf1hware.h"
#include "extern.h"
#include "gf1os.h"
#include "gf1proto.h"
#include "osproto.h"

extern ULTRA_DATA _gf1_data; /* OS data structure */

void
UltraTrimJoystick(unsigned char joyval)
{
	/* poke in new joystick compensation value */
	outp( _gf1_data.reg_select, SET_JOYSTICK );
	outp( _gf1_data.data_hi, joyval );
}
[ RETURN TO DIRECTORY ]