Subversion Repositories HelenOS

Rev

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

Rev 4153 Rev 4581
Line 35... Line 35...
35
 */
35
 */
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 <keybuffer.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);
Line 54... Line 60...
54
#endif
60
#endif
55
 
61
 
56
/**
62
/**
57
 * @}
63
 * @}
58
 */
64
 */
59
 
-