* @param[in] keyString A string of input characters or key pressed
* @param[in] keyCode The unique key code for the key pressed.
* @param[in] keyModifier The key modifier for special keys like shift and alt
- * @param[in] timeStamp The time (in ms) that the key event occurred.
- * @param[in] keyState The state of the key 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
*/
KeyEvent(const std::string& keyName,
const std::string& keyString,
int keyCode,
int keyModifier,
unsigned long timeStamp,
- const State& keyState);
+ const State& keyState,
+ const std::string deviceName );
/*
* Constructor, creates a Integration::KeyEvent from a Dali::KeyEvent
*/
State state;
+ /**
+ * Name of device KeyEvent originated from
+ */
+ std::string deviceName;
+
};
} // namespace Integration