diff -r 6aeb7a756187 -r 3c88a81ff781 qstmgesturelib/qstmuievent_if.h --- a/qstmgesturelib/qstmuievent_if.h Thu Sep 23 15:32:11 2010 -0400 +++ b/qstmgesturelib/qstmuievent_if.h Fri Oct 15 17:30:59 2010 -0400 @@ -27,7 +27,7 @@ namespace qstmUiEventEngine { -static const int KMaxNumberOfPointers(5) ; // How many of these should we have in multi-touch case +static const int KMaxNumberOfPointers(2) ; // How many of these should we have in multi-touch case enum QStm_UiEventCode { @@ -62,8 +62,13 @@ EDrag, EMove, EButtonRepeat, - ESwitchOn, + ESwitchOn }; + enum Modifiers { + EModifierLeftCtrl=0x00000020, /**< Left Control (Ctrl) key.*/ + EModifierRightCtrl=0x00000040, /**< Right Control (Ctrl) key.*/ + EModifierCtrl=0x00000080, /**< Single Control (Ctrl) key.*/ + }; PEType m_type; unsigned int m_modifiers; QPoint m_position; @@ -165,6 +170,7 @@ virtual void setSpeedVec(QPointF speedVec) = 0; virtual QEvent::Type mapToMouseEventType() = 0; virtual QEvent::Type mapToTouchEventType() = 0; + virtual unsigned int getModifiers() = 0; };