home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / fly8112o.zip / flcs.max < prev    next >
Text File  |  1997-05-20  |  4KB  |  127 lines

  1. # flcs.max
  2. #
  3. # This is part of the flight simulator 'fly8'.
  4. # Author: Eyal Lebedinsky (eyal@eyal.emu.id.au).
  5.  
  6. # The button assignments are as follows:
  7. #
  8. #    S1  2 index finger button
  9. #    S2  1 thumb button
  10. #    S3  3 pinky switch
  11. #    S4  9 paddle switch
  12. #    TG1 8 trigger - first  detent
  13. #    TG2 0 trigger - second detent
  14. #    H1U 4 "coolie" hat
  15. #    H1R 5
  16. #    H1D 6
  17. #    H1L 7
  18. #    H2U i "ridged" hat
  19. #    H2R j
  20. #    H2D k
  21. #    H2L l
  22. #    H3U m "castellated" hat
  23. #    H3R n
  24. #    H3D o
  25. #    H3L p
  26. #    H4U q "gray H" hat
  27. #    H4R r
  28. #    H4D s
  29. #    H4L t
  30.  
  31. # Example of button usage. This is for a stand alone FLCS. This file will
  32. # be part of the full macro file that also defines keyboard keys (normally
  33. # fly.max).
  34.  
  35. # Let us define the trigger (button 0) as the 'fire' function. I prefer to
  36. # use the full-depress (btn 0) for this rather than the ligher 1st detent
  37. # (btn 8).
  38.  
  39. Def Btn 0    F1
  40.  
  41. # we should leave this button non-debounced ('d=0') in the stick options so
  42. # that this button will produce a repeating action, and you won't have to
  43. # press/release the button for each shot.
  44.  
  45. # button '1' is defined further down.
  46.  
  47. # we have 4 buttons, so we can use the rest like this:
  48.  
  49. Def Btn 2    w        # red index: toggle weapon
  50. Def Btn 3    +        # red pinky: speed brakes (momentary)
  51. Def Brl 3    +
  52.  
  53.  
  54. # use the main hat (top grey) for power management, since we do not have
  55. # a throttle on this stick.
  56.  
  57. Def Btn 4    9        # up    power up
  58. Def Btn 5    .        # right    100%, then AB power
  59. Def Btn 6    3        # down    power down
  60. Def Btn 7    0        # left    idle power
  61.  
  62. # and let's put speed brakes control on the red paddle switch:
  63.  
  64. Def Btn 9    +        # engage  Speed Breaks
  65. Def Brl 9    +        # release Speed Breaks
  66.  
  67. # So now we can quickly set the throttle, and if we neede to slow down in
  68. # a hurry then we can pull the red paddle with the little finger. This looks
  69. # nice but is not as comfortable as I would like. Basically I find myself
  70. # either resting against the bottom platform, where the top hat is a tad too
  71. # far, or I hold the stick high and the bottom red buttons are out of reach.
  72. # Also, I don't seem to find a good grip where the buttons are out of risk
  73. # of accidental presses - there is just not enough rest space.
  74.  
  75.  
  76. # set hat 2 (left black) for targeting functions. This will allow us to
  77. # manage the radar and related features.
  78.  
  79. Def Btn i    f        # up    toggle radar acquisition mode
  80. Def Btn j    Sp        # right    radar target reselect
  81. Def Btn k    r        # down    radar on/off
  82. Def Btn l    l        # left    target radar lock on/off
  83.  
  84.  
  85. # set hat 3 (right black) for view functions. It shows a view to either of
  86. # four direction while the hat is held.
  87.  
  88. Def Btn m    Up Up Up Up Up
  89. Def Brl m    *
  90. Def Btn n    Right Right Right Right Right
  91. Def Brl n    *
  92. Def Btn o    Down Down Down Down Down
  93. Def Brl o    *
  94. Def Btn p    Left Left Left Left Left
  95. Def Brl p    *
  96.  
  97. # use S1 (top red button) to switch alternate view momentarily. This allows
  98. # glimpsing at the radar map. Use hat 4 to swap the view for a longer
  99. # period.
  100.  
  101. Def Btn 1    v        # toggle view
  102. Def Brl 1    v        # toggle view
  103.  
  104.  
  105. # set hat 4 (low grey) for view/zoom functions
  106.  
  107. Def Btn q    F5        # up    zoom in
  108. Def Btn r    v        # right    swap view
  109. Def Btn s    F6        # down    zoom out
  110. Def Btn t    i        # left    intel mode (momentary)
  111. Def Brl t    i
  112.  
  113.  
  114. # Note how button 'f' (hat left) engages the speed brakes on press but
  115. # then retracts it on release. You must define this button to have
  116. # a release function (the default). You may also want buttons 4 and 6 to
  117. # have continuous operation. 
  118. # In summary, the pointer options should be ':d=046'.
  119.  
  120. # In practice it is safe to define ALL buttons for 'release' action
  121. # since undefined keys will be ignores. However it is wasteful
  122. # to make a key continuous ('d=...') when it is not needed.
  123.  
  124. # You must program the FLCS with fly8.b50 in order to use it in this way.
  125. # You can, of course, program the FLCS to directly generate any Fly8
  126. # commands that you wish without the use of this .max file.
  127.