4.104.115
Line | |
---|
1 | #ifndef __mouse_parser_h__ |
---|
2 | #define __mouse_parser_h__ |
---|
3 | |
---|
4 | #include <rtems/mw_uid.h> |
---|
5 | |
---|
6 | #ifdef __cplusplus |
---|
7 | extern "C" { |
---|
8 | #endif |
---|
9 | |
---|
10 | /* Use the same definitions as the user interface */ |
---|
11 | #define RBUTTON MV_BUTTON_RIGHT |
---|
12 | #define MBUTTON MV_BUTTON_CENTER |
---|
13 | #define LBUTTON MV_BUTTON_LEFT |
---|
14 | |
---|
15 | typedef int COORD; /* device coordinates*/ |
---|
16 | typedef unsigned int BUTTON; /* mouse button mask*/ |
---|
17 | |
---|
18 | /* local routines */ |
---|
19 | int MOU_Init(void); |
---|
20 | int MOU_Data( int ch, COORD *dx, COORD *dy, COORD *dz, BUTTON *bptr ); |
---|
21 | |
---|
22 | /* Mouse Interface */ |
---|
23 | void register_mou_msg_queue( char * qname, int port ); |
---|
24 | void unregister_mou_msg_queue( int port ); |
---|
25 | |
---|
26 | /* KBD Interface */ |
---|
27 | void register_kbd_msg_queue( char *qname, int port ); |
---|
28 | void unregister_kbd_msg_queue( int port ); |
---|
29 | |
---|
30 | #ifdef __cplusplus |
---|
31 | } |
---|
32 | #endif |
---|
33 | |
---|
34 | #endif /* __mouse_parser_h__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.