Motorola maxx V6 manual Multiple Key Press Support, Draft Subject to Change 149/201

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 149
Image 149

Java ME Developer Guide

Chapter 21 - Gaming API/Multiple Key Press

21.2 Multiple Key Press Support

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:

Simultaneously moving to the right and firing at objects in a game.

The following sets of keys will support multi-button press support on the MOTORAZR maxx V6 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), 9

Set 2 - 2, 4, 6, 8, 7

Set 3 - 0, #

Refer to Table 28 for gaming and keypad feature/class support for MIDP 2.0:

Feature/Class

Implementation

lcdui.game package

Supported

setBacklight as defined in

Supported

javax.microedition.lcdui.Display

 

setVibrator as defined in

Supported

javax.microedition.lcdui.Display

 

All constructors and inherited classes for the Illegal-

Supported

StateException in java.lang

 

All constructors, methods, and inherited classes for the

Supported

Timer class in java.util

 

All the constructors, methods, and inherited classes for

Supported

the TimerTask class in java.util

 

All fields, constructors, methods, inherited fields and in-

Supported

herited methods for the GameCanvas class in

 

javax.microedition.lcdui.game

 

GameCanvas size

9x larger than screen

Map the UP_PRESSED field in

Supported

javax.microedition.lcdui.game.GameCanvas to the top

 

position of the key.

 

Map the DOWN_PRESSED field in

Supported

DRAFT - Subject to Change [149/201]

Page 149
Image 149
Motorola maxx V6 manual Multiple Key Press Support, Draft Subject to Change 149/201