Skip to content

Commit

Permalink
Utilisation de WindowsInput
Browse files Browse the repository at this point in the history
  • Loading branch information
FLOBOY-France committed Jun 9, 2021
1 parent 1bddbba commit 86ed17b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions GamePadToKeyboard/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<appSettings>
<add key="AppVersion" value="0.03" />
<add key="intervalleMS" value="500"/>
</appSettings>
</configuration>
3 changes: 2 additions & 1 deletion GamePadToKeyboard/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ static void Main(string[] args)
ButtonState previousState = ButtonState.Released;
DateTime dtLastPressed = DateTime.Now;
int intervalleMS = int.Parse(ConfigurationManager.AppSettings["intervalleMS"]);

string AppVersion = ConfigurationManager.AppSettings["AppVersion"];
Console.WriteLine("_____________ GamePadToKeyboard v" + AppVersion + " _____________");
Console.WriteLine("A : Activation, B : Clear, Back : Sortie de l'application");
Console.WriteLine("Intervalle fixé à " + intervalleMS);

Expand Down

0 comments on commit 86ed17b

Please sign in to comment.