-
Notifications
You must be signed in to change notification settings - Fork 2
/
conf.json
194 lines (194 loc) · 15.3 KB
/
conf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{"Config": {"language": "en", "pathToLEDControl": "path/to/VPC_LED_Control.exe", "pathToEDJournals":"%HOMEPATH%/Saved Games/Frontier Developments/Elite Dangerous/", "sleepTime": 5, "timeOut": 60, "timedeltaMs": 500, "resetTime": 10, "devices": {"LEFT VPC Stick WarBRD": {"id": "3344 80CC"}, "RIGHT VPC Stick WarBRD": {"id": "3344 40CC", "cmdCount": 6}}}}
{"Comment": "Config" }
{"Comment": "language reserved for internationalisation" }
{"Comment": "pathToLEDControl path to VPC_LED_Control.exe (include the program name - VPC_LED_Control.exe)" }
{"Comment": "fPath path to your Elite Dangerous journal files" }
{"Comment": "sleepTime, timeOut, timedeltaMs and resetTime" }
{"Comment": "timedeltaMs used to prevent too many colour changes being sent too quickly, your device can get out of sync otherwise" }
{"Comment": " timing values" }
{"Comment": "devices a list of VPC devices together with their id (the id from VPC Setup tool)" }
{"Comment": " Note: this is tested with Left and Right Alpha sticks, throttles" }
{"Comment": " and control panels will have different ids" }
{"Comment": "" }
{"Comment": "" }
{"Event": "Default", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 0, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD": {"Red": 0, "Green": 1, "Blue": 1, "cmd": 1}}
{"Comment": "The Default event is used to return decives to their normal state" }
{"Comment": "todo, try using cmd: 0 instead of cmd: 1 to reset to default colours (should be device independent)" }
{"Comment": "" }
{"Comment": "" }
{"Comment": "Event is an event label from the ED flight log"}
{"Comment": "Interest is an integer, setting the level of responce: 0 - ignore, non-zero - set colour, influences colour range"}
{"Comment": "remaining field should have the device label (as defined in config) together with either 'random' for a random colour, or a field giving predefined colour values (range zero to 3) and a command code"}
{"Comment": "'random' will be a random colour chosen at the start of the program"}
{"Comment": "The colour tuple should be in the form {\"Red\": r, \"Green\": g, \"Blue\": b, \"cmd\": c}, where r, g, b and c are integers."}
{"Comment": "If any colour value (Red, Green or Blue) is ommited, it will be set to zero"}
{"Comment": "An omitted command (cmd, c) will be treated as 1 (0 is no action, 1 works with the Alpha Joystick)" }
{"Comment": "The range of options for throttles and control panels has to exceed 40" }
{"Comment": "Note: Events with interest Zero could be deleted, but are present here for completeness" }
{"Comment": "" }
{"Comment": "Changes 5 Apr 2021 - subject to test" }
{"Comment": "==================" }
{"Comment": "If a device supports several colours simultaneously, then you may send a command for each colour" }
{"Comment": {"Event": "SomeEvent", "Interest": 1, "CM3 Throttle":[{"Red": 1, "Green": 2, "Blue": 3, "cmd": 5}, {"Red": 2, "Green": 3, "Blue": 0, "cmd": 6}], "OtherDevice": "..."} }
{"Comment": "" }
{"Comment": "If a device supports several colours simultaneously, then you may send the same colour to several buttons" }
{"Comment": {"Event": "SomeEvent", "Interest": 1, "CM3 Throttle":{"Red": 1, "Green": 2, "Blue": 3, "cmd": [5, 6]}, "OtherDevice": "..."} }
{"Comment": "" }
{"Comment": "The following should have the same effect:" }
{"Comment": {"Event": "SomeEvent", "Interest": 1, "CM3 Throttle":[{"Red": 1, "Green": 2, "Blue": 3, "cmd": 5}, {"Red": 1, "Green": 2, "Blue": 3, "cmd": 6}], "OtherDevice": "..."} }
{"Comment": "" }
{"Comment": "You may combine these" }
{"Comment": {"Event": "SomeEvent", "Interest": 1, "CM3 Throttle":[{"Red": 1, "Green": 2, "Blue": 3, "cmd": [5, 6]}, {"Red": 2, "Green": 3, "Blue": 0, "cmd": [7, 8]}], "OtherDevice": "..."} }
{"Comment": "" }
{"Comment": "" }
{"Comment": "Commands" }
{"Comment": "========" }
{"Comment": "cmd 0 Set colours on Virpil devices back to default" }
{"Comment": "cmd 1 Set colours on Virpil Alpha sticks" }
{"Comment": "" }
{"Comment": "cmd 5-10 Set colours for Buttons B1-B6 on Virpil CM3 Throttle" }
{"Comment": "" }
{"Comment": "Other commands are reserved or not known" }
{"Comment": "" }
{"Comment": " --- End comments --- " }
{"Event": "AfmuRepairs", "Interest": 2, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "ApproachBody", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "ApproachSettlement", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "Bounty", "Interest": 0}
{"Event": "BuyAmmo", "Interest": 0}
{"Event": "BuyDrones", "Interest": 0}
{"Event": "BuyExplorationData", "Interest": 0}
{"Event": "Cargo", "Interest": 0}
{"Event": "CargoDepot", "Interest": 0}
{"Event": "CockpitBreached", "Interest": 3, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 0, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD": "random"}
{"Event": "CollectCargo", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "Commander", "Interest": 0}
{"Event": "CommitCrime", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "CommunityGoal", "Interest": 0}
{"Event": "CommunityGoalJoin", "Interest": 0}
{"Event": "CommunityGoalReward", "Interest": 0}
{"Event": "CrimeVictim", "Interest": 0}
{"Event": "DatalinkScan", "Interest": 0}
{"Event": "DatalinkVoucher", "Interest": 0}
{"Event": "DataScanned", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "Died", "Interest": 0, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "Docked", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 0, "Green": 1, "Blue": 2, "cmd": 1}, "RIGHT VPC Stick WarBRD":[{"Red": 1, "Green": 1, "Blue": 2, "cmd": 1}]}
{"Event": "DockingCancelled", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "DockingDenied", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 2, "Green": 0, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 2, "Green": 0, "Blue": 0, "cmd": [1, 2]}}
{"Event": "DockingGranted", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":[{"Red": 1, "Green": 3, "Blue": 1, "cmd": [1,2,3]},{"Red": 1, "Green": 3, "Blue": 1, "cmd": [4,5,6]}]}
{"Event": "DockingRequested", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 1, "Blue": 3, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 1, "Blue": 3, "cmd": 1}}
{"Event": "DockSRV", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "EjectCargo", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "EngineerCraft", "Interest": 0}
{"Event": "EngineerProgress", "Interest": 0}
{"Event": "EscapeInterdiction", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "FactionKillBond", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "FetchRemoteModule", "Interest": 0}
{"Event": "Fileheader", "Interest": 0}
{"Event": "Friends", "Interest": 0}
{"Event": "FSDJump", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 1, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}}
{"Event": "FSDTarget", "Interest": 0}
{"Event": "FSSAllBodiesFound", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 3, "Blue": 3, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 3, "Green": 3, "Blue": 3, "cmd": 1}}
{"Event": "FSSDiscoveryScan", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 0, "Blue": 3, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 0, "Blue": 3, "cmd": 1}}
{"Event": "FSSSignalDiscovered", "Interest": 0}
{"Event": "FuelScoop", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 2, "Green": 2, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 2, "Green": 2, "Blue": 0, "cmd": 1}}
{"Event": "HeatDamage", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 1, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 3, "Green": 1, "Blue": 0, "cmd": 1}}
{"Event": "HeatWarning", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 2, "Green": 1, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 2, "Green": 1, "Blue": 1, "cmd": 1}}
{"Event": "HullDamage", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 0, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 3, "Green": 0, "Blue": 0, "cmd": 1}}
{"Event": "Interdicted", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 1, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 3, "Green": 1, "Blue": 1, "cmd": 1}}
{"Event": "Interdiction", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 2, "Green": 1, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 2, "Green": 1, "Blue": 1, "cmd": 1}}
{"Event": "JetConeBoost", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 0, "Green": 0, "Blue": 3, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 0, "Green": 0, "Blue": 3, "cmd": 1}}
{"Event": "LaunchDrone", "Interest": 0}
{"Event": "LaunchSRV", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "LeaveBody", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "Liftoff", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 3, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 3, "Blue": 0, "cmd": 1}}
{"Event": "LoadGame", "Interest": 0}
{"Event": "Loadout", "Interest": 0}
{"Event": "Location", "Interest": 0}
{"Event": "Market", "Interest": 0}
{"Event": "MarketBuy", "Interest": 0}
{"Event": "MarketSell", "Interest": 0}
{"Event": "MaterialCollected", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 2, "Green": 0, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 2, "Blue": 0, "cmd": 1}}
{"Event": "MaterialDiscovered", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 0, "Green": 3, "Blue": 0, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 0, "Green": 0, "Blue": 0, "cmd": 1}}
{"Event": "Materials", "Interest": 0}
{"Event": "MaterialTrade", "Interest": 0}
{"Event": "MissionAbandoned", "Interest": 0}
{"Event": "MissionAccepted", "Interest": 0}
{"Event": "MissionCompleted", "Interest": 0}
{"Event": "MissionFailed", "Interest": 0}
{"Event": "MissionRedirected", "Interest": 0}
{"Event": "Missions", "Interest": 0}
{"Event": "ModuleBuy", "Interest": 0}
{"Event": "ModuleInfo", "Interest": 0}
{"Event": "ModuleRetrieve", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "ModuleSell", "Interest": 0}
{"Event": "ModuleSellRemote", "Interest": 0}
{"Event": "ModuleStore", "Interest": 0}
{"Event": "ModuleSwap", "Interest": 0}
{"Event": "MultiSellExplorationData", "Interest": 0}
{"Event": "Music", "Interest": 0}
{"Event": "NavBeaconScan", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "NavRoute", "Interest": 0}
{"Event": "Outfitting", "Interest": 0}
{"Event": "PayBounties", "Interest": 0}
{"Event": "PayFines", "Interest": 0}
{"Event": "Powerplay", "Interest": 0}
{"Event": "PowerplayCollect", "Interest": 0}
{"Event": "PowerplayDefect", "Interest": 0}
{"Event": "PowerplayDeliver", "Interest": 0}
{"Event": "PowerplayFastTrack", "Interest": 0}
{"Event": "PowerplayJoin", "Interest": 0}
{"Event": "PowerplayLeave", "Interest": 0}
{"Event": "PowerplaySalary", "Interest": 0}
{"Event": "PowerplayVote", "Interest": 0}
{"Event": "Progress", "Interest": 0}
{"Event": "Rank", "Interest": 0}
{"Event": "RebootRepair", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "ReceiveText", "Interest": 0}
{"Event": "RedeemVoucher", "Interest": 0}
{"Event": "RefuelAll", "Interest": 2, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "RefuelPartial", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "Repair", "Interest": 0}
{"Event": "RepairAll", "Interest": 0}
{"Event": "RepairDrone", "Interest": 0}
{"Event": "Reputation", "Interest": 0}
{"Event": "ReservoirReplenished", "Interest": 0}
{"Event": "RestockVehicle", "Interest": 0}
{"Event": "Resurrect", "Interest": 0}
{"Event": "SAAScanComplete", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "SAASignalsFound", "Interest": 0}
{"Event": "Scan", "Interest": 0}
{"Event": "Scanned", "Interest": 0}
{"Event": "SearchAndRescue", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "SellDrones", "Interest": 0}
{"Event": "SellExplorationData", "Interest": 0}
{"Event": "SendText", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "SetUserShipName", "Interest": 0}
{"Event": "SharedBookmarkToSquadron", "Interest": 0}
{"Event": "ShipTargeted", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 1, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 3, "Green": 1, "Blue": 2, "cmd": 1}}
{"Event": "Shipyard", "Interest": 0}
{"Event": "ShipyardBuy", "Interest": 0}
{"Event": "ShipyardNew", "Interest": 0}
{"Event": "ShipyardSell", "Interest": 0}
{"Event": "ShipyardSwap", "Interest": 0}
{"Event": "ShipyardTransfer", "Interest": 0}
{"Event": "Shutdown", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "SquadronStartup", "Interest": 0}
{"Event": "SRVDestroyed", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "StartJump", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 2, "Green": 0, "Blue": 3, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 2, "Green": 0, "Blue": 3, "cmd": 1}}
{"Event": "Statistics", "Interest": 0}
{"Event": "StoredModules", "Interest": 0}
{"Event": "StoredShips", "Interest": 0}
{"Event": "SupercruiseEntry", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "SupercruiseExit", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 2, "Green": 0, "Blue": 3, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 2, "Green": 0, "Blue": 3, "cmd": 1}}
{"Event": "Synthesis", "Interest": 0}
{"Event": "SystemsShutdown", "Interest": 0}
{"Event": "Touchdown", "Interest": 1, "LEFT VPC Stick WarBRD": "random", "RIGHT VPC Stick WarBRD":"random"}
{"Event": "UnderAttack", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 1, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 3, "Green": 1, "Blue": 1, "cmd": 1}}
{"Event": "Undocked", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 3, "Green": 0, "Blue": 2, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 3, "Green": 0, "Blue": 2, "cmd": 1}}
{"Event": "USSDrop", "Interest": 0}
{"Event": "VehicleSwitch", "Interest": 0}
{"Event": "WingAdd", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}}
{"Event": "WingInvite", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}}
{"Event": "WingJoin", "Interest": 1, "LEFT VPC Stick WarBRD": {"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}, "RIGHT VPC Stick WarBRD":{"Red": 1, "Green": 3, "Blue": 1, "cmd": 1}}
{"Event": "WingLeave", "Interest": 0}