stroke.c File Reference

Stroke simulator. More...

#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.


Detailed Description

Stroke simulator.

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.


Generated on Thu Jun 2 07:45:55 2011 for HelenOS/USB by  doxygen 1.4.7