Skip to content

Commit

Permalink
Try and fix phantom keyboard presses when using keyboard emulation
Browse files Browse the repository at this point in the history
Change ring button emulation to be defaulted to true
  • Loading branch information
Leapward-Koex committed Jun 12, 2024
1 parent 48cdfd0 commit b6872dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion App.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<value />
</setting>
<setting name="IsRingButtonEmulationEnabled" serializeAs="String">
<value>False</value>
<value>True</value>
</setting>
</WpfMaiTouchEmulator.Properties.Settings>
</userSettings>
Expand Down
2 changes: 1 addition & 1 deletion Properties/Settings.Designer.cs

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

2 changes: 1 addition & 1 deletion Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Value Profile="(Default)" />
</Setting>
<Setting Name="IsRingButtonEmulationEnabled" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>
1 change: 1 addition & 0 deletions TouchPanel.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ private async void StateCheckLoop()
private void Window_Loaded(object sender, RoutedEventArgs e)
{
buttons = VisualTreeHelperExtensions.FindVisualChildren<Polygon>(this);
DeselectAllItems();
}

public void PositionTouchPanel()
Expand Down

0 comments on commit b6872dd

Please sign in to comment.