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

  1. # wcs.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. #    T1  a middle finger button
  9. #    T2  b bottom index button
  10. #    T3  c top index button
  11. #    T4  d top thumb button
  12. #    T5  e buttom thumb button
  13. #    T6  f rear thumb button
  14. #    T7  g rocker up
  15. #    T8  h rocker down
  16.  
  17. # Example of button usage. Let us define the trigger (button 0) as the
  18. # 'fire' function:
  19.  
  20. Def Btn 0    F1
  21.  
  22. # we should use the 'd=0' in the stick options so that this button
  23. # will produce a repeating action, so you don't have to press/release
  24. # for each shot. Now let us define the second button as the radar lock
  25. # release:
  26.  
  27. Def Btn 1    Sp
  28.  
  29. # If we have 4 buttons on the main stick then we can use them, like this:
  30.  
  31. Def Btn 2    w        # toggle weapon
  32. Def Btn 3    f        # toggle radar acquisition mode
  33.  
  34. # If we have a 'hat' then we can use it for view control, like:
  35.  
  36. Def Btn 4    Up Up Up Up Up
  37. Def Brl 4    *
  38. Def Btn 5    Right Right Right Right Right
  39. Def Brl 5    *
  40. Def Btn 6    Down Down Down Down Down
  41. Def Brl 6    *
  42. Def Btn 7    Left Left Left Left Left
  43. Def Brl 7    *
  44.  
  45. # now let's use some WCS buttons:
  46.  
  47. Def Btn c    v        # top index    toggle view
  48. Def Btn d    F5        # top thumb    zoom in
  49. Def Btn e    F6        # bottom thumb    zoom out
  50. Def Btn f    +        # rear thumb    hold speed brakes
  51. Def Brl f    +
  52.  
  53. # Note how button f engages the speed brakes on press but then retracts
  54. # them on release. You must define this button to have a release function
  55. # (the default). You may also want buttons 4 and 6 to have continuous
  56. # operation. In summary, the pointer options should be ':d=046'.
  57.  
  58. # In practice it is safe to leave ALL buttons for 'release' action
  59. # since undefined keys will be ignores. However it is wastefull
  60. # to make a key continuous ('d=...') when it is not needed.
  61.  
  62. # Note how a button can be seen by Fly8 directly through the joystick port
  63. # or indirectly through the keyboard (using the WCS). This file does not
  64. # depend on which way this happens. You should program the WCS with the
  65. # fly8.adv file so that the correct generic key sequences are used.
  66.