Howto:Adding gun effects: Difference between revisions

Line 78: Line 78:
   controls/armament/trigger
   controls/armament/trigger


The following code, which you can place in your keyboard.xml file or (if you are an aircraft designer) in your aircraft's -set.xml file, triggers both of those locations and works with almost all FG aircraft:
The following code, which you can place in your keyboard.xml file or (if you are an aircraft designer) in your aircraft's -set.xml file in the <keyboard> section, triggers both of those locations and works with almost all FG aircraft:


       <key n="101">
       <key n="101">
482

edits