×
Namespaces

Variants
Actions

Archived:Modifier keys do not generate key press events in devices with full keyboard (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Nokia E61, Nokia E61i, Nokia E62, Nokia E70, Nokia E90
CompatibilityArticle
Created: User:Technical writer 1 (16 Apr 2007)
Last edited: hamishwillee (16 Aug 2013)

Description

The modifier keys (i.e., Shift, Ctrl, Function, Chr) in devices with a full keyboard do not generate separate key press events.

The MIDP key event API (keyPressed/keyRepeated/keyReleased callback methods) does not have proper full keyboard mechanisms so the key codes are only available for character keys. The MIDP key API does not have a mechanism to indicate modifiers in key events so separate presses of modifier keys do not generate separate events in S60 Java. Key combinations like Shift+A or Chr+A will create appropriate character key events.

A special key, for example the Chr key which normally triggers a user interface for special character selection, will deliver only low-level key events if it is combined with some other key.

Note also that in low-level key input it is not possible to trigger key events for more than one special character or accented character with the Chr key combined with some other key. Keystrokes in which the Chr key is combined with other keys will only result in the same key codes repeatedly in consecutive key presses regardless how many times the same key combination is being pressed.

Solution

No solution exists.

This page was last modified on 16 August 2013, at 09:06.
121 page views in the last 30 days.
×