source: rtems/c/src/lib/libbsp/i386/pc386/console/mouse_parser.h @ debbc9e

4.104.115
Last change on this file since debbc9e was 3cd35d46, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/18/08 at 10:46:09

Add missing prototypes.

  • Property mode set to 100644
File size: 823 bytes
Line 
1#ifndef __mouse_parser_h__
2#define __mouse_parser_h__
3
4#include <rtems/mw_uid.h>
5
6#ifdef __cplusplus
7extern "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
15typedef int                      COORD;         /* device coordinates*/
16typedef unsigned int       BUTTON;              /* mouse button mask*/
17
18/* local routines */
19int        MOU_Init(void);
20int      MOU_Data( int ch, COORD *dx, COORD *dy, COORD *dz, BUTTON *bptr );
21
22/* Mouse Interface */
23void register_mou_msg_queue( char * qname, int port );
24void unregister_mou_msg_queue( int port );
25
26/* KBD Interface */
27void register_kbd_msg_queue( char *qname, int port );
28void 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.