예제 #1
0
파일: braille.c 프로젝트: BaJIeK/brltty
static int
brl_readCommand (BrailleDisplay *brl, KeyTableCommandContext context) {
  int command = brl_keyToCommand(brl, context, brl_readKey(brl));
  if (command != EOF) logMessage(LOG_DEBUG, "cmd %04X", command);
  return command;
}
예제 #2
0
파일: braille.c 프로젝트: brltty/brltty
/* Reads a command from the braille keyboard */
static int brl_readCommand(BrailleDisplay *brl, KeyTableCommandContext context)
{
  return brl_keyToCommand(brl,context,brl_readKey(brl));
}