diff --git a/FakeeDeck/ButtonType/HelldiversTwoMacro.cs b/FakeeDeck/ButtonType/HelldiversTwoMacro.cs
index ed29be5..05fdba9 100644
--- a/FakeeDeck/ButtonType/HelldiversTwoMacro.cs
+++ b/FakeeDeck/ButtonType/HelldiversTwoMacro.cs
@@ -46,5 +46,32 @@ namespace FakeeDeck.ButtonType
{ "rocket-pods","https://static.wikia.nocookie.net/helldivers_gamepedia/images/e/e3/Eagle_110MM_Rocket_Pods_Icon.png"},
{ "bomb","https://static.wikia.nocookie.net/helldivers_gamepedia/images/5/5a/Eagle_500KG_Bomb_Icon.png"},
};
+
+ public static string getButton(string Key)
+ {
+ return
+ "
" +
+ " " +
+ "
";
+ }
+
+ public static bool invokeAction(string Key)
+ {
+ return false;
+ }
+
+ public static string FirstLetterToUpper(string str)
+ {
+ if (str == null)
+ return null;
+
+ if (str.Length > 1)
+ return char.ToUpper(str[0]) + str.Substring(1);
+
+ return str.ToUpper();
+ }
}
}
diff --git a/FakeeDeck/HttpServer.cs b/FakeeDeck/HttpServer.cs
index a9b00b8..604068e 100644
--- a/FakeeDeck/HttpServer.cs
+++ b/FakeeDeck/HttpServer.cs
@@ -128,14 +128,7 @@ namespace FakeeDeck
{
foreach (var stratogem in HelldiversTwoMacro.stratogems)
{
- Console.WriteLine(HelldiversTwoMacro.stratogemsIcons[stratogem.Key]);
- pageData +=
- "" +
- " " +
- "
";
+ pageData += HelldiversTwoMacro.getButton(stratogem.Key);
}
@@ -153,15 +146,6 @@ namespace FakeeDeck
listener.Close();
}
- public static string FirstLetterToUpper(string str)
- {
- if (str == null)
- return null;
-
- if (str.Length > 1)
- return char.ToUpper(str[0]) + str.Substring(1);
-
- return str.ToUpper();
- }
+
}
}