#include <stroke.h>
#include <kbd.h>
#include <io/console.h>
#include <io/keycode.h>
Go to the source code of this file.
Functions | |
void | stroke_sim (unsigned mod, unsigned key) |
Simulate keystroke using sequences of key presses and releases. | |
Variables | |
static unsigned int | mods_keys [][2] |
Correspondence between modifers and the modifier keycodes. |
When simulating a keyboard using a serial TTY we need to convert the recognized strokes (such as Shift-A) to sequences of key presses and releases (such as 'press Shift, press A, release A, release Shift').
Definition in file stroke.c.