BuildRequires: pkgconfig(dali-adaptor)
BuildRequires: pkgconfig(dali-toolkit)
BuildRequires: pkgconfig(cynara-client)
-BuildRequires: pkgconfig(ecore-wl2)
+BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: pkgconfig(wayland-tbm-client)
BuildRequires: pkgconfig(screen_connector_watcher)
#include <dali/devel-api/events/touch-event-devel.h>
#include <dali/devel-api/events/key-event-devel.h>
#include <string.h>
-#ifndef EFL_BETA_API_SUPPORT
-#define EFL_BETA_API_SUPPORT
-#endif
-#include <Ecore_Wl2.h>
+#include <Ecore_Wayland.h>
#include <Ecore_Input.h>
#include <widget_service.h>
#include <widget_instance.h>
static bool GetKeyCode( std::string keyName, int32_t& keyCode )
{
xkb_keymap* keyMap = NULL;
- Ecore_Wl2_Input* ecoreWlInput = NULL;
+ Ecore_Wl_Input* ecoreWlInput = NULL;
xkb_keysym_t sym = XKB_KEY_NoSymbol;
KeyCodeMap foundKeyCode;
- Ecore_Wl2_Display *wl2_display = ecore_wl2_connected_display_get(NULL);
- ecoreWlInput = ecore_wl2_input_default_input_get(wl2_display);
+ ecoreWlInput = ecore_wl_input_get();
if( !ecoreWlInput )
{
- DALI_LOG_ERROR( "Failed to get Ecore_Wl2_Input in WidgetView\n" );
+ DALI_LOG_ERROR( "Failed to get Ecore_Wl_Input in WidgetView\n" );
return false;
}
- keyMap = ecore_wl2_input_keymap_get( ecoreWlInput );
+ keyMap = ecore_wl_input_keymap_get( ecoreWlInput );
if( !keyMap )
{
DALI_LOG_ERROR( "Failed to get keymap in WidgetView\n" );