-KeyEvent::KeyEvent(const std::string& keyName, const std::string& keyString, const int& keyCode, const int& keyModifier, const int& offset, const int& characters, const State& keyState)
-: Event(Key),
- keyName(keyName),
- keyString(keyString),
- keyCode(keyCode),
- keyModifier(keyModifier),
- cursorOffset(offset),
- numberOfChars(characters),
- time(0),
- state(keyState)
+KeyEvent::KeyEvent( const std::string& keyName, const std::string& logicalKey, const std::string& keyString, int keyCode, int keyModifier,
+ unsigned long timeStamp, const State& keyState, const std::string& compose, const std::string& deviceName,
+ const Device::Class::Type deviceClass, const Device::Subclass::Type deviceSubclass )
+: Event( Key ),
+ keyName( keyName ),
+ logicalKey( logicalKey ),
+ keyString( keyString ),
+ keyCode( keyCode ),
+ keyModifier( keyModifier ),
+ time( timeStamp ),
+ state( keyState ),
+ compose( compose ),
+ deviceName( deviceName ),
+ deviceClass( deviceClass ),
+ deviceSubclass( deviceSubclass )