X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fevents%2Fkey-event-integ.h;h=d98970d990e8612b6b7ff6b0e464361104d26368;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20170417.100748;hp=e448a30481e57f6029eaa7c3bcf6a81b5d6e39f4;hpb=a87b66f17ef4490a627b48dfe37bceb2411b8acc;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/events/key-event-integ.h b/dali/integration-api/events/key-event-integ.h index e448a30..d98970d 100644 --- a/dali/integration-api/events/key-event-integ.h +++ b/dali/integration-api/events/key-event-integ.h @@ -24,6 +24,7 @@ // INTERNAL INCLUDES #include #include +#include namespace Dali DALI_IMPORT_API { @@ -62,6 +63,7 @@ struct KeyEvent : public Event * @param[in] timeStamp The time (in ms) that the key event occurred. * @param[in] keyState The state of the key event. * @param[in] deviceName Name of device KeyEvent originated from + * @param[in] deviceClass Class of device KeyEvent originated from */ KeyEvent(const std::string& keyName, const std::string& keyString, @@ -69,7 +71,8 @@ struct KeyEvent : public Event int keyModifier, unsigned long timeStamp, const State& keyState, - const std::string deviceName ); + const std::string deviceName, + const DevelKeyEvent::DeviceClass::Type deviceClass ); /* * Constructor, creates a Integration::KeyEvent from a Dali::KeyEvent @@ -120,6 +123,10 @@ struct KeyEvent : public Event */ std::string deviceName; + /** + * Class of device KeyEvent originated from + */ + DevelKeyEvent::DeviceClass::Type deviceClass; }; } // namespace Integration