|
|
|
class TRawEvent;
Represents a raw hardware event as generated by hardware drivers of a pointer device, a keyboard etc.
Raw hardware events are added to the kernel's event queue.
Defined in TRawEvent:
DeviceNumber()constGets the device number (eg. screen number)EActiveEButton1DownRepresents a button down event.EButton1UpRepresents a button up event.EButton2DownRepresents a button down event.EButton2UpRepresents a button up event.EButton3DownRepresents a button down event.EButton3UpRepresents a button up event.ECaseCloseRepresents a case close event.ECaseOpenRepresents a case open event.EInactiveEKeyDownRepresents a keyboard key down event. EKeyRepeatRepresents a key being continually pressed event.EKeyUpRepresents a keyboard key up event.ENoneRepresents an uninitialised event object.EPointerMoveA pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates a...EPointerSwitchOnA switch on event caused by a screen tap using a pointer device.ERedrawRepresents a redraw event.ERestartSystemRepresents a device restart event.ESwitchOffRepresents a device switch off event.ESwitchOnRepresents a device switch on event.EUpdateModifiersRepresents a modifier key being pressed.IsTip()constGets the information on which end of the pointing device is closer to the screenModifiers()constGets the modifiers.Pos()constGets the mouse or digitiser X-Y position.Pos3D()constGets the Cartesian coordinates of the 3D pointer end that is closer to the scree...Rotation()constGets the rotation angle of 3D pointing device.ScanCode()constGets the scancode.Set(TType)Sets up an event without specific parameters.Set(TType,TInt)Sets the event up as a scancode event.Set(TType,TInt,TInt)Sets the event up as a mouse/pen event.Set(TType,TInt,TInt,TInt)Sets the event up as a 3D pointer linear move event.Set(TType,TInt,TInt,TInt,TInt,TInt,TInt)Sets the event up as a 3D pointer linear move and tilt and rotation change event...SetDeviceNumber(TInt)Sets the device number (eg. screen number)SetRotation(TType,TInt)Sets the event up as 3D pointer rotation event.SetTilt(TType,TInt,TInt)Sets the event up as 3D pointer tilt change event.SetTip(TBool)Sets the information on which end of the pointing device is closer to the screenTRawEvent()Default constructor TTypeDefines the event type. Ticks()constGets the tick count value associated with the event.Tilt()constGets the angular spherical polar coordinates of the 3D pointer end that is close...Type()constGets the event typealphaiDeviceNumberiSpare2iTicksiTipIndicates whether the tip or head of pointing device is closer to screen. iTypeiUmodifiersphipospos3DscanCodethetaxyzinline TType Type() const;
Gets the event type
|
inline TInt DeviceNumber() const;
Gets the device number (eg. screen number)
|
inline void SetDeviceNumber(TInt aDeviceNumber);
Sets the device number (eg. screen number)
|
IMPORT_C TPoint Pos() const;
Gets the mouse or digitiser X-Y position.
|
IMPORT_C TInt Modifiers() const;
Gets the modifiers.
|
|
TRawEvent::EUpdateModifiersRepresents a modifier key being pressed.IMPORT_C TPoint3D Pos3D() const;
Gets the Cartesian coordinates of the 3D pointer end that is closer to the screen.
|
IMPORT_C TAngle3D Tilt() const;
Gets the angular spherical polar coordinates of the 3D pointer end that is closer to the screen.
|
IMPORT_C TInt Rotation() const;
Gets the rotation angle of 3D pointing device.
Some 3D pointing devices support information regarding the angle formed between the physical and magnetical poles, as obtaining when rotating the pen along its main axis.
|
inline TUint Ticks() const;
Gets the tick count value associated with the event.
Note that the interval between tick counts is hardware dependent.
|
inline TBool IsTip() const;
Gets the information on which end of the pointing device is closer to the screen
|
inline void SetTip(TBool aTip);
Sets the information on which end of the pointing device is closer to the screen
|
IMPORT_C void Set(TType aType, TInt aScanCode);
Sets the event up as a scancode event.
|
IMPORT_C void Set(TType aType, TInt aX, TInt aY);
Sets the event up as a mouse/pen event.
|
IMPORT_C void Set(TType aType);
Sets up an event without specific parameters.
|
IMPORT_C void Set(TType aType, TInt aX, TInt aY, TInt aZ);
Sets the event up as a 3D pointer linear move event.
|
IMPORT_C void Set(TType aType, TInt aX, TInt aY, TInt aZ, TInt aPhi, TInt aTheta, TInt aAlpha);
Sets the event up as a 3D pointer linear move and tilt and rotation change event.
|
IMPORT_C void SetTilt(TType aType, TInt aPhi, TInt aTheta);
Sets the event up as 3D pointer tilt change event.
|
IMPORT_C void SetRotation(TType aType, TInt aAlpha);
Sets the event up as 3D pointer rotation event.
|
TType
Defines the event type.
|
protected: TUint8 iTip;
Indicates whether the tip or head of pointing device is closer to screen.
protected: TRawEvent::@52 iU;