Subversion Repositories HelenOS

Rev

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

Rev 4419 Rev 4420
Line 36... Line 36...
36
 
36
 
37
#ifndef KBD_KBD_H_
37
#ifndef KBD_KBD_H_
38
#define KBD_KBD_H_
38
#define KBD_KBD_H_
39
 
39
 
40
#include <key_buffer.h>
40
#include <key_buffer.h>
-
 
41
#include <ipc/ipc.h>
41
 
42
 
42
#define KBD_EVENT   1024
43
#define KBD_EVENT   1024
43
#define KBD_MS_LEFT 1025
44
#define KBD_MS_LEFT 1025
44
#define KBD_MS_RIGHT    1026
45
#define KBD_MS_RIGHT    1026
45
#define KBD_MS_MIDDLE   1027
46
#define KBD_MS_MIDDLE   1027
46
#define KBD_MS_MOVE 1028
47
#define KBD_MS_MOVE 1028
47
 
48
 
-
 
49
typedef enum {
-
 
50
    KBD_YIELD   = IPC_FIRST_USER_METHOD,
-
 
51
    KBD_RECLAIM
-
 
52
} kbd_request_t;
-
 
53
 
48
extern int cir_service;
54
extern int cir_service;
49
extern int cir_phone;
55
extern int cir_phone;
50
 
56
 
51
extern void kbd_push_scancode(int);
57
extern void kbd_push_scancode(int);
52
extern void kbd_push_ev(int, unsigned int);
58
extern void kbd_push_ev(int, unsigned int);