|
||
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()const
Gets the device number (eg. screen number)EActive
EButton1Down
Represents a button down event.EButton1Up
Represents a button up event.EButton2Down
Represents a button down event.EButton2Up
Represents a button up event.EButton3Down
Represents a button down event.EButton3Up
Represents a button up event.ECaseClose
Represents a case close event.ECaseOpen
Represents a case open event.EInactive
EKeyDown
Represents a keyboard key down event. EKeyRepeat
Represents a key being continually pressed event.EKeyUp
Represents a keyboard key up event.ENone
Represents an uninitialised event object.EPointerMove
A pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates a...EPointerSwitchOn
A switch on event caused by a screen tap using a pointer device.ERedraw
Represents a redraw event.ERestartSystem
Represents a device restart event.ESwitchOff
Represents a device switch off event.ESwitchOn
Represents a device switch on event.EUpdateModifiers
Represents a modifier key being pressed.IsTip()const
Gets the information on which end of the pointing device is closer to the screenModifiers()const
Gets the modifiers.Pos()const
Gets the mouse or digitiser X-Y position.Pos3D()const
Gets the Cartesian coordinates of the 3D pointer end that is closer to the scree...Rotation()const
Gets the rotation angle of 3D pointing device.ScanCode()const
Gets 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 TType
Defines the event type. Ticks()const
Gets the tick count value associated with the event.Tilt()const
Gets the angular spherical polar coordinates of the 3D pointer end that is close...Type()const
Gets the event typealpha
iDeviceNumber
iSpare2
iTicks
iTip
Indicates whether the tip or head of pointing device is closer to screen. iType
iU
modifiers
phi
pos
pos3D
scanCode
theta
x
y
z
inline 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::EUpdateModifiers
Represents 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;