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; }
/* Reads a command from the braille keyboard */ static int brl_readCommand(BrailleDisplay *brl, KeyTableCommandContext context) { return brl_keyToCommand(brl,context,brl_readKey(brl)); }