Example

The following example shows how to determine if the OIA indicates that the keyboard is in upper shift mode.

//-------------------------------------------------------------------
// ECLOIA::IsUpperShift
//
// Determine status of connection 'A' OIA indicator
//-------------------------------------------------------------------
void Sample51() {
 
ECLOIA OIA('A');   // OIA object for connection A
 
if (OIA.IsUpperShift())
  printf("UpperShift.\n");
else
  printf("Not UpperShift.\n");
 
} // end sample