Try and fix phantom keyboard presses when using keyboard emulation
.NET Core Desktop / build (Release) (push) Has been cancelled Details

Change ring button emulation to be defaulted to true
pull/7/head 1.3.0
LeapwardKoex 2024-06-12 22:50:48 +12:00
parent 48cdfd0e72
commit b6872dde34
4 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@
<value />
</setting>
<setting name="IsRingButtonEmulationEnabled" serializeAs="String">
<value>False</value>
<value>True</value>
</setting>
</WpfMaiTouchEmulator.Properties.Settings>
</userSettings>

View File

@ -97,7 +97,7 @@ namespace WpfMaiTouchEmulator.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool IsRingButtonEmulationEnabled {
get {
return ((bool)(this["IsRingButtonEmulationEnabled"]));

View File

@ -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>

View File

@ -60,6 +60,7 @@ public partial class TouchPanel : Window
private void Window_Loaded(object sender, RoutedEventArgs e)
{
buttons = VisualTreeHelperExtensions.FindVisualChildren<Polygon>(this);
DeselectAllItems();
}
public void PositionTouchPanel()