kbdrepeat.c File Reference

USB HID keyboard autorepeat facilities. More...

#include <fibril_synch.h>
#include <io/keycode.h>
#include <io/console.h>
#include <errno.h>
#include <usb/debug.h>
#include "kbdrepeat.h"
#include "kbddev.h"

Go to the source code of this file.

Functions

int usb_kbd_repeat_fibril (void *arg)
 Main routine to be executed by a fibril for handling auto-repeat.
static void usb_kbd_repeat_loop (usb_kbd_t *kbd)
 Main loop handling the auto-repeat of keys.
void usb_kbd_repeat_start (usb_kbd_t *kbd, unsigned int key)
 Start repeating particular key.
void usb_kbd_repeat_stop (usb_kbd_t *kbd, unsigned int key)
 Stop repeating particular key.

Variables

static unsigned int CHECK_DELAY = 10000
 Delay between auto-repeat state checks when no key is being repeated.


Detailed Description

USB HID keyboard autorepeat facilities.

Definition in file kbdrepeat.c.


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