Alpha Key - Metrologic Optimus S Programming Manual

"c" programming guide
Table of Contents

Advertisement

76
"C" Programming Guide For Optimus S/R

3.7.2 ALPHA Key

dis_alpha
en_alpha
Purpose
To disable the ALPHA (α) key.
Syntax
void dis_alpha (void);
dis_alpha();
Example
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
Purpose
To enable or unlock the ALPHA (α) key.
Syntax
void en_alpha (int type); // Optimus S, Optimus R
en_alpha();
Example
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)
ALPHA_ROLLING (2) It takes turns to show alphabet and numeric when
Return
None
See Also
dis_alpha, get_alpha_enable_state, LockAlphaState
int type;
// key rolling type
It shows only one character when pressing one key.
The character displayed depends on the current
input mode.
pressing the same key. For example, the "2ABC"
key can generate "2", "A", "B" and "C" by turns.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents