keyboard linear_image
API Reference Manual  /  5 Model-to-Simulator Interfaces  / 

keyboard_console

Description
Interface implemented by consoles, to receive notifications from keyboard controllers.

The function keyboard_ready(), which takes the console as its first argument obj, must be called by the keyboard controller when it is ready to receive keyboard events again after having rejected a keyboard event. Note that this function may be called even though no keyboard event has been rejected, and that the console must not assume that keyboard controller will accept an event just because the keyboard_ready() function has been called.

keyboard_ready must not be called while the keyboard controller is handling a keyboard_event() call.

SIM_INTERFACE(keyboard_console) {
        void (*keyboard_ready)(conf_object_t *obj);
};

#define KEYBOARD_CONSOLE_INTERFACE "keyboard_console"

Execution Context
Cell Context for all methods.

keyboard linear_image