Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added Chromatic Aberration fix buttons. Updated readme doc, please re…
…ad it! it is in english and spanish
  • Loading branch information
Javigracia committed Sep 1, 2018
1 parent 2c5904e commit b3e5225
Show file tree
Hide file tree
Showing 4 changed files with 662 additions and 8 deletions.
59 changes: 51 additions & 8 deletions AdbGui/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions AdbGui/Form1.cs
Expand Up @@ -270,5 +270,23 @@ private void button9_Click(object sender, EventArgs e)
txtLogBox.Text = "Operation Cancelled!!";
}
}

private void button12_Click(object sender, EventArgs e)
{
var device = AdbClient.Instance.GetDevices().First();
var receiver = new ConsoleOutputReceiver();
AdbClient.Instance.ExecuteRemoteCommand("setprop debug.oculus.forceChroma 1", device, receiver);
txtLogBox.Clear();
txtLogBox.Text = "Chromatic aberration fix ON.";
}

private void button13_Click(object sender, EventArgs e)
{
var device = AdbClient.Instance.GetDevices().First();
var receiver = new ConsoleOutputReceiver();
AdbClient.Instance.ExecuteRemoteCommand("setprop debug.oculus.forceChroma 0", device, receiver);
txtLogBox.Clear();
txtLogBox.Text = "Chromatic aberration fix OFF.";
}
}
}

0 comments on commit b3e5225

Please sign in to comment.