Subversion Repositories HelenOS

Rev

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

Rev 2787 Rev 4377
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
 
-
 
43
#define KBD_EVENT   1024
-
 
44
#define KBD_MS_LEFT 1025
-
 
45
#define KBD_MS_RIGHT    1026
-
 
46
#define KBD_MS_MIDDLE   1027
-
 
47
#define KBD_MS_MOVE 1028
-
 
48
 
-
 
49
typedef enum {
-
 
50
    KBD_YIELD   = IPC_FIRST_USER_METHOD,
-
 
51
    KBD_RECLAIM
-
 
52
} kbd_request_t;
-
 
53
 
42
extern int kbd_arch_init(void);
54
extern int cir_service;
-
 
55
extern int cir_phone;
-
 
56
 
43
extern int kbd_arch_process(keybuffer_t *keybuffer, ipc_call_t *call);
57
extern void kbd_push_scancode(int);
44
extern int mouse_arch_process(int phoneid, ipc_call_t *call);
58
extern void kbd_push_ev(int, unsigned int);
45
 
59
 
46
#endif
60
#endif
47
 
61
 
48
/**
62
/**
49
 * @}
63
 * @}