con_input context_handler
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

con_input_code

Description
The con_input_code interface facilitates sending simulated key events to the simulation. It is implemented by the graphics console.

Simulated key events are passed through the associated recorder object and then sent to the keyboard connected to the console.

The input method sends the key code, either a key press or a release, depending on the down parameter.

SIM_INTERFACE(con_input_code) {
        void (*input)(conf_object_t *NOTNULL obj, sim_key_t code, bool down);
};
#define CON_INPUT_CODE_INTERFACE "con_input_code"

Execution Context
Global Context

con_input context_handler