Subversion Repositories HelenOS-historic

Rev

Rev 1451 | Rev 1560 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1451 Rev 1476
Line 29... Line 29...
29
#ifndef __KEY_BUFFER_H__
29
#ifndef __KEY_BUFFER_H__
30
#define __KEY_BUFFER_H__
30
#define __KEY_BUFFER_H__
31
 
31
 
32
#include <types.h>
32
#include <types.h>
33
 
33
 
34
#define KEYBUFFER_SIZE 128 /**< Size of buffer for pressed keys */
34
/** Size of buffer for pressed keys */
-
 
35
#define KEYBUFFER_SIZE 128 
35
 
36
 
36
typedef struct {
37
typedef struct {
37
    char fifo[KEYBUFFER_SIZE];
38
    char fifo[KEYBUFFER_SIZE];
38
    unsigned long head;
39
    unsigned long head;
39
    unsigned long tail;
40
    unsigned long tail;