REM                    FLCS/TQS PROGRAMMING TEMPLATE
REM
REM B50 FILENAME:TM_TQS_______  DESCRIPTION: Joint Strike Fighter___________
REM ________________________________________________________________________
REM
REM WRITTEN BY: Innerloop Technologies___________________  DATE: 11.8.97____
REM
REM
REM ************************PRELIMINARY SETTINGS**************************
REM
REM INCLUDE THE 'USE TQS' COMMAND TO USE YOUR TQS.
REM INCLUDE THE 'USE WCS' COMMAND TO USE YOUR WCS MARK II.
REM
    USE TQS
REM
REM INCLUDE THE 'USE FCLK' COMMAND TO BASE CHARACTER TIMING ON THE SIMULATOR.
REM
REM THE 'RATE nnnn' COMMAND IS USED TO CONTROL BUTTON PRESS AND RELEASE
REM RATES, WHERE nnnn IS A NUMBER BETWEEN 0-1000.
REM
    RATE 100
REM
REM ***********************MACRO DEFINITION FILE***************************
REM
    MDEF TM_TQS
REM
REM CHANGE 'TEMPLATE' ABOVE TO THE NAME OF THE M50 FILE THAT YOU WANT YOUR
REM B50 FILE TO REFERENCE.  FOR EXAMPLE, IF YOU CREATE A NEW B50 FILE FOR A
REM SIM CALLED NEWSIM.B50, YOU MIGHT WANT THE LINE ABOVE TO READ:
REM                             'MDEF NEWSIM'
REM
REM ****************************FLCS SETTINGS******************************
REM
REM FIRST TRIGGER CLICK
REM
    BTN TG1
REM
REM SECOND TRIGGER CLICK
REM
    BTN TG2 (FireWeapon)
REM
REM BUTTONS S1 THRU S4 (S1=INDEX FINGER, S2=THUMB, S3=PINKY, AND
REM S4=PADDLE SWITCH ON FLCS).
REM
    BTN S1 (FireCannon)
    BTN S2 ToggleATA
    BTN S3 ToggleATG
    BTN S4
REM
REM HAT SWITCHES H1 THRU H4.  EACH HAT SWITCH FUNCTIONS AS A 5-WAY SWITCH,
REM THE POSITIONS CORRESPONDING TO THE 4 BASIC DIRECTIONS, AND THE MIDDLE
REM POSITION.
REM
REM H1=LARGE HAT AT TOP OF FLCS
    BTN H1U
    BTN H1D LookBack
    BTN H1L LookLeft
    BTN H1R LookRight
    BTN H1M LookFront
REM
REM H2=SMALL HAT BELOW BUTTON S2
    BTN H2U MFDControl
    BTN H2D MFDStatus
    BTN H2L MFDInfo
    BTN H2R MFDAttack
    BTN H2M
REM
REM H3=SECOND LARGER HAT BELOW H1
    BTN H3U MFDStrategic
    BTN H3D MFDOffensive
    BTN H3L RadarZoomOut
    BTN H3R RadarZoomIn
    BTN H3M
REM
REM H4=HAT ON LEFT SIDE OF FLCS
    BTN H4U TrimUp
    BTN H4D TrimDowm
    BTN H4L TrimLeft
    BTN H4R TrimRight
    BTN H4M
REM
REM ****************************WCS SETTINGS*******************************
REM
REM BUTTONS T1 THRU T10 ARE USED BY THE TQS.
    BTN T1
    BTN T2 Chaff
    BTN T3 Flares
    BTN T4 HMDSLS
    BTN T5 HMDNAV
    BTN T6 RadarOnOff
    BTN T7 Flaps
    BTN T8 Hatch
    BTN T9 Autopilot
    BTN T10 AutoThrottle
REM BUTTONS T11-T14 CORRESPOND TO THE FOUR MOUSE DIRECTIONS, AND WILL
REM GENERATE A REPEATING CHARACTER AS LONG AS THE TRACK BALL IS BEING
REM ROLLED.  BUTTONS T11-T14 ARE DESIGNED FOR USE IN SIMS THAT DON'T
REM SUPPORT THE MOUSE DIRECTLY.  IF YOUR SIM INCLUDES MOUSE SUPPORT, THEN
REM YOU SHOULD OMIT BUTTONS T11-T14.
    BTN T11
    BTN T12
    BTN T13
    BTN T14
REM
REM THROTTLE COMMANDS.  NOTE: OMIT THE 'THR' STATEMENT TO USE THE THROTTLE AS
REM AN ANALOG DEVICE.
REM
REM
REM USE THE MINIMUM THROTTLE BUTTON SETTING TO CONTROL THE THROTTLE WHEN
REM PULLED FULLY BACK.
REM
    BTN MT
REM
REM ***********************************************************************
