S60 Key List and View Comparison
Standard names and classifications of common keys:
1. Navigation key: includes four direction keys and the middle selection key.
Navigation keys
Arrow up
Arrow down
Arrow left
Arrow right
The selection key
2. Soft keys: including the left software and right software keys.
Softkeys
The left softkey
The right softkey
3. Telephone key: including the dialing key and the hanging key
Call Handling keys
The call creation key
The call termination key
4 others:
An application key (also called a function key) is used to display a list of currently running applications. You can switch between applications by pressing the function key.
Press the function key once to switch to the menu, and then press the button to switch to the phone standby interface)
ITU-T numeric keys and keys
Delete key (C key)
Edit key (PEN key)
Shut down key
Other keys
The applications key
Alphanumeric keypad, with ITU-T numeric keypad (0-9, *, #) as default.
The clear key
The Edit key
The power key
In e32stdkeys. h, there are two enumeration definitions: tstdscancode and tkeycode,
That is, the scan code and key code.
Not all buttons can generate a key code, but as long as the key on the mobile phone has a scan code.
Enum tstdscancode
{
Estdkeynull = 0x00,
Estdkeybackspace = 0x01,
Estdkeytab = 0x02,
Estdkeyenter = 0x03,
Estdkeyescape = 0x04,
Estdkeyspace = 0x05,
Estdkeyprintscreen = 0x06,
Estdkeypause = 0x07,
Estdkeyhome = 0x08,
Estdkeyend = 0x09,
Estdkeypageup = 0x0a,
Estdkeypagedown = 0x0b,
Estdkeyinsert = 0x0c,
Estdkeydelete = 0x0d,
Estdkeyleftarrow = 0x0e,
Estdkeyrightarrow = 0x0f,
Estdkeyuparrow = 0x10,
Estdkeydownarrow = 0x11,
Estdkeyleftshift = 0x12,
Estdkeyrightshift = 0x13,
Estdkeyleftalt = 0x14,
Estdkeyrightalt = 0x15,
Estdkeyleftctrl = 0x16,
Estdkeyrightctrl = 0x17,
Estdkeyleftfunc = 0x18,
Estdkeyrightfunc = 0x19,
Estdkeycapslock = 0x1a,
Estdkeynumlock = 0x1b,
Estdkeyscrolllock = 0x1c,
Estdkeyf1 = 0x60,
Estdkeyf2 = 0x61,
Estdkeyf3 = 0x62,
Estdkeyf4 = 0x63,
Estdkeyf5 = 0x64,
Estdkeyf6 = 0x65,
Estdkeyf7 = 0x66,
Estdkeyf8 = 0x67,
Estdkeyf9 = 0x68,
Estdkeyf10 = 0x69,
Estdkeyf11 = 0x6a,
Estdkeyf12 = 0x6b,
Estdkeyf13 = 0x6c,
Estdkeyf14 = 0x6d,
Estdkeyf15 = 0x6e,
Estdkeyf16 = 0x6f,
Estdkeyf17 = 0x70,
Estdkeyf18 = 0x71,
Estdkeyf19 = 0x72,
Estdkeyf20 = 0x73,
Estdkeyf21 = 0x74,
Estdkeyf22 = 0x75,
Estdkeyf23 = 0x76,
Estdkeyf24 = 0x77,
Estdkeyxxx = 0x78,
Estdkeycomma = 0x79,
Estdkeyfullstop = 0x7a,
Estdkeyforwardslash = 0x7b,
Estdkeybackslash = 0x7c,
Estdkeysemicolon = 0x7d,
Estdkeysinglequote = 0x7e,
Estdkeyhash = 0x7f,
Estdkeysquarebracketleft = 0x80,
Estdkeysquarebracketright = 0x81,
Estdkeyminus = 0x82,
Estdkeyequals = 0x83,
Estdkeynkpforwardslash = 0x84,
Estdkeynkpasterisk = 0x85,
Estdkeynkpminus = 0x86,
Estdkeynkpplus = 0x87,
Estdkeynkpenter = 0x88,
Estdkeynkp1 = 0x89,
Estdkeynkp2 = 0x8a,
Estdkeynkp3 = 0x8b,
Estdkeynkp4 = 0x8c,
Estdkeynkp5 = 0x8d,
Estdkeynkp6 = 0x8e,
Estdkeynkp7 = 0x8f,
Estdkeynkp8 = 0x90,
Estdkeynkp9 = 0x91,
Estdkeynkp0 = 0x92,
Estdkeynkpfullstop = 0x93,
Estdkeymenu = 0x94,
Estdkeybacklighton = 0x95,
Estdkeybacklightoff = 0x96,
Estdkeybacklighttoggle = 0x97,
Estdkeyinccontrast = 0x98,
Estdkeydeccontrast = 0x99,
Estdkeysliderdown = 0x9a,
Estdkeysliderup = 0x9b,
Estdkeydictaphoneplay = 0x9c,
Estdkeydictaphonestop = 0x9d,
Estdkeydictaphonerecord = 0x9e,
Estdkeyhelp = 0x9f,
Estdkeyoff = 0xa0,
Estdkeydial = 0xa1,
Estdkeyincvolume = 0xa2,
Estdkeydecvolume = 0xa3,
Estdkeydevice0 = 0xa4,
Estdkeydevice1 = 0xa5,
Estdkeydevice2 = 0xa6,
Estdkeydevice3 = 0xa7,
Estdkeydevice4 = 0xa8,
Estdkeydevice5 = 0xa9,
Estdkeydevice6 = 0xaa,
Estdkeydevice7 = 0xab,
Estdkeydevice8 = 0xac,
Estdkeydevice9 = 0xad,
Estdkeydevicea = 0xae,
Estdkeydeviceb = 0xaf,
Estdkeydevicec = 0xb0,
Estdkeydeviced = 0xb1,
Estdkeydevicee = 0xb2,
Estdkeydevicef = 0xb3,
Estdkeyapplication0 = 0xb4,
Estdkeyapplication1 = 0xb5,
Estdkeyapplication2 = 0xb6,
Estdkeyapplication3 = 0xb7,
Estdkeyapplication4 = 0xb8,
Estdkeyapplication5 = 0xb9,
Estdkeyapplication6 = 0xba,
Estdkeyapplication7 = 0xbb,
Estdkeyapplication8 = 0xbc,
Estdkeyapplication9 = 0xbd,
Estdkeyapplicationa = 0xbe,
Estdkeyapplicationb = 0xbf,
Estdkeyapplicationc = 0xc0,
Estdkeyapplicationd = 0xc1,
Estdkeyapplicatione = 0xc2,
Estdkeyapplicationf = 0xc3,
Estdkeyyes = 0xc4,
Estdkeyno = 0xc5,
Estdkeyincbrightness = 0xc6,
Estdkeydecbrightness = 0xc7,
Estdkeyboardextend = 0xc8
};
Enum tkeycode
{
Ekeynull = 0x0000,
Ekeybell = 0x0007,
Ekeybackspace = 0x0008,
Ekeytab = 0x0009,
Ekeylinefeed = 0x000a,
Ekeyverticaltab = 0x000b,
Ekeyformfeed = 0x000c,
Ekeyenter = 0x000d,
Ekeyescape = 0x001b,
Ekeyspace = 0x0020,
Ekeydelete = 0x007f,
Ekeyprintscreen = enoncharacterkeybase,
Ekeypause,
Ekeyhome,
Ekeyend,
Ekeypageup,
Ekeypagedown,
Ekeyinsert,
Ekeyleftarrow,
Ekeyrightarrow,
Ekeyuparrow,
Ekeydownarrow,
Ekeyleftshift,
Ekeyrightshift,
Ekeyleftalt,
Ekeyrightalt,
Ekeyleftctrl,
Ekeyrightctrl,
Ekeyleftfunc,
Ekeyrightfunc,
Ekeycapslock,
Ekeynumlock,
Ekeyscrolllock,
Ekeyf1,
Ekeyf2,
Ekeyf3,
Ekeyf4,
Ekeyf5,
Ekeyf6,
Ekeyf7,
Ekeyf8,
Ekeyf9,
Ekeyf10,
Ekeyf11,
Ekeyf12,
Ekeyf13,
Ekeyf14,
Ekeyf15,
Ekeyf16,
Ekeyf17,
Ekeyf18,
Ekeyf19,
Ekeyf20,
Ekeyf21,
Ekeyf22,
Ekeyf23,
Ekeyf24,
Ekeyoff,
Ekeyinccontrast,
Ekeydeccontrast,
Ekeybacklighton,
Ekeybacklightoff,
Ekeybacklighttoggle,
Ekeysliderdown,
Ekeysliderup,
Ekeymenu,
Ekeydictaphoneplay,
Ekeydictaphonestop,
Ekeydictaphonerecord,
Ekeyhelp,
Ekeydial,
Ekeyscreendimension0,
Ekeyscreendimension1,
Ekeyscreendimension2,
Ekeyscreendimension3,
Ekeyincvolume,
Ekeydecvolume,
Ekeydevice0,
Ekeydevice1,
Ekeydevice2,
Ekeydevice3,
Ekeydevice4,
Ekeydevice5,
Ekeydevice6,
Ekeydevice7,
Ekeydevice8,
Ekeydevice9,
Ekeydevicea,
Ekeydeviceb,
Ekeydevicec,
Ekeydeviced,
Ekeydevicee,
Ekeydevicef,
Ekeyapplication0,
Ekeyapplication1,
Ekeyapplication2,
Ekeyapplication3,
Ekeyapplication4,
Ekeyapplication5,
Ekeyapplication6,
Ekeyapplication7,
Ekeyapplication8,
Ekeyapplication9,
Ekeyapplicationa,
Ekeyapplicationb,
Ekeyapplicationc,
Ekeyapplicationd,
Ekeyapplicatione,
Ekeyapplicationf,
Ekeyyes,
Ekeyno,
Ekeyincbrightness,
Ekeydecbrightness,
Ekeykeyboardextend
};
Estdkeynkp0 to estdkeynkp9 and corresponding to the number key 0 to 9
In uikon. HRH, A ing definition is made for tkeycode:
# Define ekeyok ekeydevice3
# Define ekeycba1 ekeydevice0
# Define ekeycba2 ekeydevice1
# Define ekeyphonesend ekeyyes
# Define ekeyphoneend ekeyno
# Define ekeyapplication ekeyapplication0
# Define ekeypoweroff ekeydevice2
# Define ekeygripopen ekeydevice4
# Define ekeygripclose ekeydevice5
# Define ekeyside ekeydevice6 // Voice key
# Define ekeycamera ekeydevice7
# Define ekeyvolumeup ekeyincvolume
# Define ekeyvolumedown ekeydecvolume
# Define ekeyflipopen ekeydevicea
# Define ekeyflipclose ekeydeviceb
Shows the relationship between definitions and keys.
I personally estimate that the following two should correspond to the opening and closing of the flip phone.
# Define ekeyflipopen ekeydevicea
# Define ekeyflipclose ekeydeviceb
I don't understand what these two are doing. Please leave a message to me. Thank you.
# Define ekeygripopen ekeydevice4
# Define ekeygripclose ekeydevice5
Initially published with: http://blog.csdn.net/windcao/archive/2007/12/25/1966008.aspx