76
"C" Programming Guide For Optimus S/R
3.7.2 ALPHA Key
dis_alpha
Purpose
To disable the ALPHA (
α
) key.
Syntax
void dis_alpha (void);
Example
dis_alpha();
Description
This routine disables the ALPHA (
α
) key and sets the input mode to numeric
only. The same result can be obtained from LockAlphaState(0).
Return
None
See Also
en_alpha, get_alpha_enable_state, LockAlphaState
en_alpha
Purpose
To enable or unlock the ALPHA (
α
) key.
Syntax
void en_alpha (int type); // Optimus S, Optimus R
int type; // key rolling type
Example
en_alpha();
Description
By default, the input mode is numeric and can be modified by the ALPHA (
α
)
key.
If the ALPHA key is disabled by dis_alpha(), this routine is used to enable
it.
If the ALPHA key is locked by LockAlphaState(), this routine is used to
unlock it.
For the Optimus S and 24-key Optimus R, the type of behaviour should be
specified ALPHA_ROLLING.
For the 39-key Optimus R, there are two types of behaviors:
ALPHA_FIXED (1)
It shows only one character when pressing one key.
The character displayed depends on the current
input mode.
ALPHA_ROLLING (2) It takes turns to show alphabet and numeric when
pressing the same key. For example, the "2ABC"
key can generate "2", "A", "B" and "C" by turns.
Return
None
See Also
dis_alpha, get_alpha_enable_state, LockAlphaState
Содержание Optimus R
Страница 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Страница 6: ......
Страница 8: ...2 C Programming Guide For Optimus S R...
Страница 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Страница 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Страница 24: ...18 C Programming Guide For Optimus S R...
Страница 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...
Страница 232: ...226 C Programming Guide For Optimus S R 4 11 Implementation defined Limits limits h float h Refer to limit h and float h...
Страница 238: ...232 C Programming Guide For Optimus S R...