diff --git a/BetterJoyForCemu/App.config b/BetterJoyForCemu/App.config
index 8345fdde..edd3cd10 100644
--- a/BetterJoyForCemu/App.config
+++ b/BetterJoyForCemu/App.config
@@ -79,5 +79,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/BetterJoyForCemu/Joycon.cs b/BetterJoyForCemu/Joycon.cs
index 45326a76..9623b9c2 100644
--- a/BetterJoyForCemu/Joycon.cs
+++ b/BetterJoyForCemu/Joycon.cs
@@ -232,6 +232,7 @@ public byte[] GetData() {
bool showAsXInput = Boolean.Parse(ConfigurationManager.AppSettings["ShowAsXInput"]);
bool showAsDS4 = Boolean.Parse(ConfigurationManager.AppSettings["ShowAsDS4"]);
+ bool windowsScreenshot = Boolean.Parse(ConfigurationManager.AppSettings["WindowsScreenshot"]);
public MainForm form;
@@ -540,7 +541,11 @@ private void Simulate(string s, bool click=true, bool up=false) {
if (s.StartsWith("key_")) {
WindowsInput.Events.KeyCode key = (WindowsInput.Events.KeyCode)Int32.Parse(s.Substring(4));
if (click) {
- WindowsInput.Simulate.Events().Click(key).Invoke();
+ if (s == Config.Value("capture") && windowsScreenshot) {
+ WindowsInput.Simulate.Events().ClickChord(WindowsInput.Events.KeyCode.LWin, WindowsInput.Events.KeyCode.PrintScreen).Invoke();
+ } else {
+ WindowsInput.Simulate.Events().Click(key).Invoke();
+ }
} else {
if (up) {
WindowsInput.Simulate.Events().Release(key).Invoke();