Skip to content

Commit

Permalink
saturn: autofire blah blah again
Browse files Browse the repository at this point in the history
  • Loading branch information
nattthebear committed Jun 21, 2020
1 parent 31e621d commit ae9405f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"editor.insertSpaces": false,
"editor.tabSize": 4
"editor.tabSize": 4,
"search.exclude": {
"waterbox": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public ControllerAdapter(
switchPreviousFrame.Add(0);

var names = data.Positions.Select(p => $"{name}: Set {p.Name}").ToArray();
if (!input.Name.StartsWith("AF ") && !input.Name.EndsWith(" AF")) // hack: don't support some devices
if (!input.Name.StartsWith("AF ") && !input.Name.EndsWith(" AF") && !input.Name.StartsWith("Autofire ")) // hack: don't support some devices
{
foreach (var n in names)
{
Expand Down

0 comments on commit ae9405f

Please sign in to comment.