kbd.c File Reference

#include <ipc/services.h>
#include <ipc/kbd.h>
#include <sysinfo.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <ipc/ns.h>
#include <async.h>
#include <errno.h>
#include <adt/fifo.h>
#include <io/console.h>
#include <io/keycode.h>
#include <devmap.h>
#include <kbd.h>
#include <kbd_port.h>
#include <kbd_ctl.h>
#include <layout.h>

Go to the source code of this file.

Defines

#define NAME   "kbd"
#define NAMESPACE   "hid_in"
#define NUM_LAYOUTS   3

Functions

static void client_connection (ipc_callid_t iid, ipc_call_t *icall)
void kbd_push_ev (int type, unsigned int key)
void kbd_push_scancode (int scancode)
int main (int argc, char **argv)

Variables

static int active_layout = 0
int client_phone = -1
int irc_phone = -1
bool irc_service = false
static layout_op_tlayout [NUM_LAYOUTS]
static unsigned lock_keys
 Currently pressed lock keys.
static unsigned mods = KM_NUM_LOCK
 Currently active modifiers.


Detailed Description

Definition in file kbd.c.


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