#include <dali-toolkit/public-api/visuals/visual-properties.h>
#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
#include <dali/integration-api/debug.h>
-#include <dali/devel-api/events/touch-event-devel.h>
-#include <dali/devel-api/events/key-event-devel.h>
#include <string.h>
#include <Ecore_Wayland.h>
#include <Ecore_Input.h>
return false;
}
- DevelDevice::Class::Type deviceType = DevelTouchData::GetDeviceClass( event, 0 );
- if( deviceType == DevelDevice::Class::MOUSE )
+ Device::Class::Type deviceType = event.GetDeviceClass( 0 );
+ if( deviceType == Device::Class::MOUSE )
{
return MouseEvent( event );
}
- else if( deviceType == DevelDevice::Class::TOUCH )
+ else if( deviceType == Device::Class::TOUCH )
{
return TouchEvent( event );
}
tizen_remote_surface_transfer_key_event( mRemoteSurface,
type,
keyCode,
- Dali::DevelKeyEvent::GetDeviceClass( event ),
- Dali::DevelKeyEvent::GetDeviceSubclass( event ),
+ event.GetDeviceClass(),
+ event.GetDeviceSubclass(),
"",
static_cast< uint32_t >( event.time )
);
0,
0,
TIZEN_INPUT_DEVICE_CLAS_MOUSE,
- DevelTouchData::GetDeviceSubclass( event, 0 ),
+ event.GetDeviceSubclass( 0 ),
"",
event.GetTime()
);
0,
0,
TIZEN_INPUT_DEVICE_CLAS_MOUSE,
- DevelTouchData::GetDeviceSubclass( event, 0 ),
+ event.GetDeviceSubclass( 0 ),
"",
event.GetTime()
);
wl_fixed_from_double( event.GetPressure( 0 ) ),
wl_fixed_from_double( event.GetAngle( 0 ).degree ),
TIZEN_INPUT_DEVICE_CLAS_MOUSE,
- DevelTouchData::GetDeviceSubclass( event, 0 ),
+ event.GetDeviceSubclass( 0 ),
"",
event.GetTime()
);
wl_fixed_from_double( event.GetPressure( 0 ) ),
wl_fixed_from_double( event.GetAngle( 0 ).degree ),
TIZEN_INPUT_DEVICE_CLAS_TOUCHSCREEN,
- DevelTouchData::GetDeviceSubclass( event, 0 ),
+ event.GetDeviceSubclass( 0 ),
"",
event.GetTime()
);