Pushes a translated key onto the input queue#include <smkeys.h>int sm_ungetkey(int key);
- The key to push onto the input stack.
sm_ungetkeysaves the translated key given by
keyso it can be retrieved by the next call to sm_getkey. Multiple calls are allowed. The key values are pushed onto a stack in last-in/first-out order.
When sm_getkey reads a key from the keyboard, it flushes the display first so the user sees a fully updated display before typing on. This is not the case for keys pushed back by
/* Force tab to next field */