[4.0] Add DALI_KEY_SOURCE 34/163234/2
authorminho.sun <minho.sun@samsung.com>
Fri, 8 Dec 2017 05:36:08 +0000 (14:36 +0900)
committerminho.sun <minho.sun@samsung.com>
Fri, 8 Dec 2017 05:39:20 +0000 (14:39 +0900)
Add DALI_KEY_SOURCE.

Change-Id: I434e0d5cfb4428a29685801361f09e229290b1a8
Signed-off-by: minho.sun <minho.sun@samsung.com>
adaptors/devel-api/adaptor-framework/key-devel.h
adaptors/ecore/wayland/key-mapping-ecore-wl.cpp

index 2b8a477..d5a7ca8 100644 (file)
@@ -89,7 +89,12 @@ enum Key
   /**
    * @brief Control Right key.
    */
-  DALI_KEY_CONTROL_RIGHT = 105
+  DALI_KEY_CONTROL_RIGHT = 105,
+
+  /**
+   * @brief Source key.
+   */
+  DALI_KEY_SOURCE = 72
 
 };
 
index 9b1f447..4f10b1f 100644 (file)
@@ -88,6 +88,7 @@ KeyLookup KeyLookupTable[]=
   { "Delete",                static_cast<Dali::KEY>( DevelKey::DALI_KEY_DELETE ),        false },
   { "Control_L",             static_cast<Dali::KEY>( DevelKey::DALI_KEY_CONTROL_LEFT ),  false },
   { "Control_R",             static_cast<Dali::KEY>( DevelKey::DALI_KEY_CONTROL_RIGHT ), false }
+  { "XF86Display",           static_cast<Dali::KEY>( DevelKey::DALI_KEY_SOURCE ), true  }
 };
 
 const std::size_t KEY_LOOKUP_COUNT = (sizeof( KeyLookupTable ))/ (sizeof( KeyLookup ));