diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-5277B7B8-722A-48ED-9333-4DD2D6A085C0.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-5277B7B8-722A-48ED-9333-4DD2D6A085C0.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,136 @@ + + +Key event codes supported by WRT

Key event codes supported by WRT

The key event codes that are supported in WRT differ from those used in some browser and widget environments. You need to know the supported key event codes to be able to handle user input correctly.

+

Note: You do not need to know the key event codes when you use the <textarea> or <input type="text"> tag.

+

The following table lists the key event codes that are used in the WRT environment. The code is given in the format event.keyCode/event.charCode. The call termination key is not included in the list, as it only exits the widget. Note that the codes for key press, key down and key up events vary for other than numeric keys.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Key event codes

Key

Key press

Key down

Key up

0

48/48

48/48

48/48

1

49/49

49/49

49/49

2

50/50

50/50

50/50

3

51/51

51/51

51/51

4

52/52

52/52

52/52

5

53/53

53/53

53/53

6

54/54

54/54

54/54

7

55/55

55/55

55/55

8

56/56

56/56

56/56

9

57/57

57/57

57/57

*

56/42

42/42

56/42

#

51/35

35/35

51/35

C (del)

8/8

8/8

8/8

Call creation key (green)

0/63586

63586/63586

0/63586

Center

0/63557

63557/63557

n/a

Left

37/63495

63495/63495

n/a

Up

38/63497

63497/63497

n/a

Right

39/63496

63496/63496

n/a

Down

40/63498

63498/63498

n/a

\ No newline at end of file