Location:
e32event.h
Link against: euser.lib
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()
, EActive
, EButton1Down
, EButton1Up
, EButton2Down
, EButton2Up
, EButton3Down
, EButton3Up
, ECaseClose
, ECaseOpen
, EInactive
, EKeyDown
, EKeyRepeat
, EKeyUp
, ENone
, EPointerMove
, EPointerSwitchOn
, ERedraw
, ESwitchOff
, ESwitchOn
, EUpdateModifiers
, IsTip()
, Modifiers()
, Pos()
, Pos3D()
, Rotation()
, ScanCode()
, Set()
, Set()
, Set()
, Set()
, Set()
, SetDeviceNumber()
, SetRotation()
, SetTilt()
, SetTip()
, TRawEvent()
, TType
, Ticks()
, Tilt()
, Type()
, alpha
, iDeviceNumber
, iSpare2
, iTicks
, iTip
, iType
, iU
, modifiers
, phi
, pos
, pos3D
, scanCode
, theta
, x
, y
, z
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.
|
|
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;