
22
Multiple Key Press
22 Multiple Key Press
•If Left + Fire were pressed at the same time, the Java object (e.g Canvas) will receive Left Pressed + Fire Pressed. In the same way, when the 2 keys are released, Java object (e.g. Canvas) will receive Left Released + Fire Released.
The following sets of keys will support
Set 1 – Nav (Up), Nav (Down), Nav (Right, Nav (Left)
Refer to the Table 19 for gaming and keypad feature/class support for MIDP 2.0:
|
| Feature/Class |
| Implementation |
|
|
|
|
|
|
| lcdui.game package |
| Supported |
|
| setBacklight as defined in javax.microedition.lcdui.Display | Supported | |
|
| setVibrator as defined in javax.microedition.lcdui.Display | Supported | |
|
| All constructors and inherited classes for the IllegalStateException in | Supported | |
|
| java.lang |
| |
|
| All constructors, methods, and inherited classes for the Timer class in |
| Supported |
|
| java.util |
|
|
|
| All the constructors, methods, and inherited classes for the TimerTask |
| Supported |
|
| class in java.util |
|
|
|
| All fields, constructors, methods, inherited fields and inherited methods |
| Supported |
|
| for the GameCanvas class in javax.microedition.lcdui.game |
| |
|
| Map the UP_PRESSED field in | Supported | |
|
| javax.microedition.lcdui.game.GameCanvas to the top position of the |
|
92