aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Keyboard
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-09-01 17:46:47 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-09-01 17:46:47 +0300
commit565afd35baab8b2846ebc80a6802a375b3fd876e (patch)
treefa478fa30e6b4bed5b629ef307d35e743bacf0d5 /Software/Visual_Studio/Tango.Touch/Keyboard
parentb3ffc4c7ba0b7f9bb34c878ae186d380ac41a07f (diff)
downloadTango-565afd35baab8b2846ebc80a6802a375b3fd876e.tar.gz
Tango-565afd35baab8b2846ebc80a6802a375b3fd876e.zip
Added bug reporting module to PPC !!
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Keyboard')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Keyboard/KeyboardActionKeyMode.cs1
-rw-r--r--Software/Visual_Studio/Tango.Touch/Keyboard/TouchKeyboard.cs8
2 files changed, 6 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Keyboard/KeyboardActionKeyMode.cs b/Software/Visual_Studio/Tango.Touch/Keyboard/KeyboardActionKeyMode.cs
index 3bc6292e8..be5575d4a 100644
--- a/Software/Visual_Studio/Tango.Touch/Keyboard/KeyboardActionKeyMode.cs
+++ b/Software/Visual_Studio/Tango.Touch/Keyboard/KeyboardActionKeyMode.cs
@@ -10,6 +10,7 @@ namespace Tango.Touch.Keyboard
{
Next,
Go,
+ Return,
Search,
}
}
diff --git a/Software/Visual_Studio/Tango.Touch/Keyboard/TouchKeyboard.cs b/Software/Visual_Studio/Tango.Touch/Keyboard/TouchKeyboard.cs
index 2e48f9a50..1856fd2ac 100644
--- a/Software/Visual_Studio/Tango.Touch/Keyboard/TouchKeyboard.cs
+++ b/Software/Visual_Studio/Tango.Touch/Keyboard/TouchKeyboard.cs
@@ -623,6 +623,9 @@ key)
case KeyboardActionKeyMode.Go:
ActionKeyText = CurrentKeyboardDefinition.EnterText;
break;
+ case KeyboardActionKeyMode.Return:
+ ActionKeyText = "↵";
+ break;
case KeyboardActionKeyMode.Next:
ActionKeyText = CurrentKeyboardDefinition.TabText;
break;
@@ -636,15 +639,14 @@ key)
{
switch (ActionKeyMode)
{
+ case KeyboardActionKeyMode.Search:
+ case KeyboardActionKeyMode.Return:
case KeyboardActionKeyMode.Go:
SendKeys("{ENTER}");
break;
case KeyboardActionKeyMode.Next:
SendKeys("{TAB}");
break;
- case KeyboardActionKeyMode.Search:
- SendKeys("{ENTER}");
- break;
}
ActionKeyPressed?.Invoke(this, ActionKeyMode);