[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_Key_state_get")]
public static extern int Key_state_get(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_Key_logicalKey_get")]
+ public static extern string Key_logicalKey_get(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_new_LongPressGestureDetector__SWIG_0")]
public static extern global::System.IntPtr new_LongPressGestureDetector__SWIG_0();
*
*/
+using System.ComponentModel;
+
namespace Tizen.NUI
{
}
}
- /* duplicated with KeyPressedName : removed
+ /// <summary>
+ /// Get the logical key string. (eg. shift + 1 == "exclamation")
+ /// </summary>
+ /// <returns>The logical key symbol</returns>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public string LogicalKey
+ {
+ get
+ {
+ return logicalKey;
+ }
+ }
+
+ /// <summary>
+ /// Get the actual string returned that should be used for input editors.
+ /// </summary>
+ /// <returns>The key string</returns>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
public string KeyPressed
{
get
return keyPressed;
}
}
- */
/// <summary>
/// Keycode for the key pressed.
}
}
+ private string logicalKey
+ {
+ get
+ {
+ string ret = NDalicPINVOKE.Key_logicalKey_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
/// <summary>
/// Enumeration for specifying the state of the key event.
/// </summary>
}
}
-}
\ No newline at end of file
+}