4-6 Programmer’s Manual
k b d S e t A l p h a
Description
Changes the keypad’s data entry mode to Lower-case Alpha
mode.
Syntax
void kbdSetAlpha (void);
Parameters
None
Return Values
None
Example
#include <stdio.h>
#include <conio.h>
#include "mmsultra.h"
void main(void)
{
int iSavedmode = 0;
// Saved mode
int iInput = 0;
// Key entered
kbdSetAlpha();
// Set Lower-case Alpha
iSavedmode = kbdGetMode();
// Save the current mode
kbdSetCaps();
// Set Upper-case Alpha
printf("Press an alphabetic\nkey: ");
// Test the mode
while (_kbhit())
;
iInput = _getch();
printf("\nYou pressed %c\n", iInput);
kbdRestoreMode(iSavedmode);
// Return to prev. mode
Summary of Contents for Gold 6037EX
Page 1: ... ROG TC6037EXPM Rev AA 8 03 Printed in the U S A 2003 Paxar Americas Inc All rights reserved ...
Page 2: ... Trademarks 0 1 2 0 0 3 4 5 6 7 78 ...
Page 10: ...viii Table of Contents ...
Page 30: ...2 16 Programmer s Manual ...
Page 36: ...3 6 Programmer s Manual ...
Page 154: ...4 118 Programmer s Manual ...
Page 228: ...14 Index ...
Page 229: ......
Page 230: ......