test_return_value = TET_PASS;
}
-// Copied from key-impl.cpp
+// Copied from key-impl.h
struct KeyLookup
{
- const char* keyName; ///< X string representation
- const int daliKeyCode; ///< Dali Enum Representation
- const bool deviceButton; ///< Whether the key is from a button on the device
+ const char* keyName; ///< XF86 key name
+ const Dali::KEY daliKeyCode; ///< Dali key code
+ const bool deviceButton; ///< Whether the key is from a button on the device
};
-// Taken from key-impl-x.cpp
+// Common keys for all platforms
KeyLookup KeyLookupTable[]=
{
{ "Escape", DALI_KEY_ESCAPE, false }, // item not defined in utilX
{ "XF86AudioMedia", DALI_KEY_MEDIA, false },
{ "XF86AudioPlayPause", DALI_KEY_PLAY_PAUSE, false },
{ "XF86AudioMute", DALI_KEY_MUTE, false },
- { "XF86Send", DALI_KEY_SEND, true },
- { "XF86Phone", DALI_KEY_SELECT, true },
- { "XF86Stop", DALI_KEY_END, true },
{ "XF86Menu", DALI_KEY_MENU, true },
{ "XF86Home", DALI_KEY_HOME, true },
{ "XF86Back", DALI_KEY_BACK, true },