Casio IT-2000D Manuel d'utilisateur Page 166

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 224
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 165
166
Acquisition of Coordinates Input Mode
Acquires the coordinates input mode currently set.
SYNTAX
int KEY_GetCoordinateMode(void);
INPUT
None
OUTPUT
0 Does not input coordinates.
1 Inputs coordinates.
EXAMPLE
#include "padlib.h"
int retcode;
retcode = KEY_GetCoordinateMode();
Refer to “KEY_SetCoordinateMode” also.
Registering Enhanced Keypad
This function is used to assign various eanhanced keys. By specifying the desired display images
and key codes to be used as the enhanced keypad the user can create a custom keypad.
SYNTAX
int KEY_SetExtKey(int keyno, KEYLIST *keylist);
INPUT
keyno = Enhanced key number
KDC_EXTKEY1(1) Enhanced key 1
KDC_EXTKEY2(2) Enhanced key 2
keylist = list of replaceable keys
typedef struct{
int data_cnt; /*Number of replaced keys*/
KDC_EXTKEYINFO far *keyinfo;
/*Table of replaceable key information */
}KDC_EXTKEYLIST;
typedef struct{
unsigned int keycode; /* Key code to be set */
int change_position; /* Place of replacement
(1 to 48) */
char far *image_adr; /* Button display data(32 x 24
bits) */
}KDC_EXTKEYINFO;
Vue de la page 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 223 224

Commentaires sur ces manuels

Pas de commentaire