Chapter 3 Terminal Specific Function Library
61
3.3.3 Capital Lock Auto-Detection
When "
Capital Lock Auto-Detection
" is enabled, the
SendData()
routine can automatically
detect the capital lock status of keyboard when the keyboard type selected is PCAT (all
available languages), PS2-30, PS55, or Memorex Telex. If this is the case,
SendData()
will
ignore the capital lock status setting and perform auto-detection when transmitting data.
When "
Capital Lock Auto-Detection
" is disabled,
SendData()
will transmit alphabets
according to the setting of the capital lock status.
If the keyboard type selected is not one among PCAT, PS2-30, PS55, and Memorex Telex,
SendData()
will transmit the alphabets according to the setting of the capital lock status,
even though the auto-detection setting is enabled.
To enable "
Capital Lock Auto-Detection
", add 128 to the value of the second element of the
WedgeSetting
array.
3.3.4 Capital Lock Status Setting
In order to send alphabets with correct case (upper or lower case), the
SendData()
routine
must know the capital lock status of keyboard when transmitting data. Incorrect capital lock
setting will result in different letter case (for example, 'A' becomes 'a', and 'a' becomes 'A').
To set "
Capital Lock ON
", add 64 to the value of the second element of the
WedgeSetting
array.
3.3.5 Alphabets Case
The setting of this bit affects the way the
SendData()
routine transmits alphabets.
SendData()
can transmit alphabets according to their original case (case sensitive) or just ignore it. If
ignoring case is selected,
SendData()
will always transmit alphabets without adding shift
key.
To set "
Ignore Alphabets Case
", add 32 to the value of the second element of the
WedgeSetting
array.
Содержание 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...