Try and fix phantom keyboard presses when using keyboard emulation
.NET Core Desktop / build (Release) (push) Has been cancelled
Details
.NET Core Desktop / build (Release) (push) Has been cancelled
Details
Change ring button emulation to be defaulted to truepull/7/head 1.3.0
parent
48cdfd0e72
commit
b6872dde34
|
@ -26,7 +26,7 @@
|
||||||
<value />
|
<value />
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="IsRingButtonEmulationEnabled" serializeAs="String">
|
<setting name="IsRingButtonEmulationEnabled" serializeAs="String">
|
||||||
<value>False</value>
|
<value>True</value>
|
||||||
</setting>
|
</setting>
|
||||||
</WpfMaiTouchEmulator.Properties.Settings>
|
</WpfMaiTouchEmulator.Properties.Settings>
|
||||||
</userSettings>
|
</userSettings>
|
||||||
|
|
|
@ -97,7 +97,7 @@ namespace WpfMaiTouchEmulator.Properties {
|
||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||||
public bool IsRingButtonEmulationEnabled {
|
public bool IsRingButtonEmulationEnabled {
|
||||||
get {
|
get {
|
||||||
return ((bool)(this["IsRingButtonEmulationEnabled"]));
|
return ((bool)(this["IsRingButtonEmulationEnabled"]));
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<Value Profile="(Default)" />
|
<Value Profile="(Default)" />
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="IsRingButtonEmulationEnabled" Type="System.Boolean" Scope="User">
|
<Setting Name="IsRingButtonEmulationEnabled" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">False</Value>
|
<Value Profile="(Default)">True</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
|
@ -60,6 +60,7 @@ public partial class TouchPanel : Window
|
||||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
buttons = VisualTreeHelperExtensions.FindVisualChildren<Polygon>(this);
|
buttons = VisualTreeHelperExtensions.FindVisualChildren<Polygon>(this);
|
||||||
|
DeselectAllItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PositionTouchPanel()
|
public void PositionTouchPanel()
|
||||||
|
|
Loading…
Reference in New Issue