Multiple Key Press - Motorola C381P J2ME Technical Manual

J2me developer guide
Table of Contents

Advertisement

22

Multiple Key Press

Multi-button press support enhances the gaming experience for the user. Multi-button
press support gives the user the ability to press two (2) keys simultaneously and the
corresponding actions of both keys will occur simultaneously. An example of this action
would be the following:
The following sets of keys will support multi-button press support on the Motorola C381p
handset. Multi-button press within each set will be supported, while multi-button press
across these sets or with other keys will not be supported.
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:
lcdui.game package
setBacklight as defined in javax.microedition.lcdui.Display
setVibrator as defined in javax.microedition.lcdui.Display
All constructors and inherited classes for the IllegalStateException in
java.lang
All constructors, methods, and inherited classes for the Timer class in
java.util
All the constructors, methods, and inherited classes for the TimerTask
class in java.util
All fields, constructors, methods, inherited fields and inherited methods
for the GameCanvas class in javax.microedition.lcdui.game
Map the UP_PRESSED field in
javax.microedition.lcdui.game.GameCanvas to the top position of the
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.
Feature/Class
22
Implementation
Supported
Supported
Supported
Supported
Supported
Supported
Supported
Supported
92

Advertisement

Table of Contents
loading

Table of Contents