If the key code falls under the ascii range of letters, return the key
code as an ascii value.
Change-Id: Idb2c990fa484354d146b2769809aa3eb6e36b2c6
delete info;
}
-const char* GetKeyName( int keyCode )
+std::string GetKeyName( int keyCode )
{
switch( keyCode )
{
}
default:
{
+ if (keyCode > 0 && keyCode < 128)
+ {
+ return std::string(1u, static_cast<char>(keyCode));
+ }
break;
}
}
\r
// EXTERNAL_HEADERS\r
#include <stdint.h>\r
+#include <string>\r
#include <dali/public-api/signals/callback.h>\r
\r
typedef uintptr_t WinWindowHandle;\r
\r
void KillTimer(intptr_t id);\r
\r
-const char* GetKeyName( int keyCode );\r
+std::string GetKeyName( int keyCode );\r
\r
uint64_t GetCurrentThreadId();\r
\r