2020-04-30 19:26:36 +00:00
|
|
|
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (mattmaring)
|
2019-10-14 16:48:35 +00:00
|
|
|
|
2020-04-18 05:36:46 +00:00
|
|
|
# Copyright (c) 2020 Josh Davidson (Octal450)
|
2019-10-14 16:48:35 +00:00
|
|
|
|
|
|
|
var statusInput = func(key, i) {
|
|
|
|
if (key == "L3") {
|
|
|
|
fmgc.switchDatabase();
|
2020-05-17 16:53:43 +00:00
|
|
|
} elsif (key == "R5") {
|
2020-05-18 23:09:09 +00:00
|
|
|
if (fmgc.WaypointDatabase.confirm) {
|
|
|
|
fmgc.WaypointDatabase.delete();
|
|
|
|
fmgc.WaypointDatabase.confirm = 0;
|
|
|
|
} else {
|
|
|
|
fmgc.WaypointDatabase.confirm = 1;
|
|
|
|
}
|
2019-10-14 16:48:35 +00:00
|
|
|
}
|
|
|
|
}
|