1
0
Fork 0

add trigger interface function, to be used by all armed aircraft, so that

there's a unified way for joysticks/kbd bindings to activate weapons
This commit is contained in:
mfranz 2006-06-09 20:52:03 +00:00
parent 2a20cdecf6
commit c39b82a4a4

View file

@ -352,3 +352,8 @@ applyParkingBrake = func(v) {
return i;
}
##
# Weapon handling.
#
trigger = func(b) { setprop("/controls/armament/trigger", b); }