Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: w32std.h

Struct TKeyEvent

TKeyEvent

Support

Supported from 5.0

Description

Key event details.

Defined in TKeyEvent:
iCode, iModifiers, iRepeats, iScanCode


Member data


iCode

TUint iCode

Description

The character code generated for an EEventKey, or 0 for a down or up event.

Key codes for special keys are defined in TKeyCode.


iModifiers

TUint iModifiers

Description

State of modifier keys and pointing device. Modifier keys are defined in TEventModifier.


iRepeats

TInt iRepeats

Description

Count of auto repeats generated.

0 means an event without repeats. 1 or more means "this many auto repeat events". It is normal to ignore this value and treat it as a single event.


iScanCode

TInt iScanCode

Description

The scan code of the key that caused the event.

Standard scan codes are defined in TStdScanCode.