Casio IT-2000D Instrukcja Użytkownika Strona 164

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 224
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 163
164
Acquisition of Number of Keypad Being Displayed
Acquires the number of the currently displayed keypad.
SYNTAX
int KEY_GetPadState(void);
INPUT
None
OUTPUT
KDC_PADOFF (0) Non-display
KDC_PADENG (1) Being displayed
EXAMPLE
#include "padlib.h"
int retcode;
retcode = KEY_GetPadState();
Refer to “KEY_DisplayPad” also.
Setting Input Acceptance Mode
Used to specify the acceptance mode for key input.
SYNTAX
int KEY_SetInputMode(int mode);
INPUT
mode = Number of the displayed keypad
KDC_MODEDOWN (0) DOWN-acceptance (default value)
KDC_MODEUP (1) UP-acceptance
OUTPUT
= 0 Normal termination
= -1 Acceptance mode specification error
EXAMPLE
#include "padlib.h"
int retcode;
retcode = KEY_SetInputMode(MODE_xxx);
Przeglądanie stron 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 223 224

Komentarze do niniejszej Instrukcji

Brak uwag