1 |
/* Private declarations for cons library |
/* Private declarations for cons library |
2 |
Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
5 |
modify it under the terms of the GNU General Public License as |
modify it under the terms of the GNU General Public License as |
29 |
BELL_AUDIBLE |
BELL_AUDIBLE |
30 |
} bell_type_t; |
} bell_type_t; |
31 |
|
|
32 |
|
#define CONS_EVT_MOUSE_MOVE (1 << 1) |
33 |
|
#define CONS_EVT_MOUSE_BUTTON (1 << 2) |
34 |
|
#define CONS_EVT_KEYPRESS (1 << 4) |
35 |
|
#define CONS_EVT_OUTPUT (1 << 8) |
36 |
|
|
37 |
|
|
38 |
/* Number of records the client is allowed to lag behind the |
/* Number of records the client is allowed to lag behind the |
39 |
server. */ |
server. */ |
54 |
/* The type of bell used for the audible bell. */ |
/* The type of bell used for the audible bell. */ |
55 |
extern bell_type_t _cons_audible_bell; |
extern bell_type_t _cons_audible_bell; |
56 |
|
|
57 |
|
/* The type of events that will make the mouse cursor visible. */ |
58 |
|
extern int _cons_show_mouse; |
59 |
|
|
60 |
|
/* The type of events that will hide the mouse cursor. */ |
61 |
|
extern int _cons_hide_mouse; |
62 |
|
|
63 |
|
/* The mouse sensitivity. */ |
64 |
|
extern float _cons_mouse_sens; |
65 |
|
|
66 |
|
|
67 |
/* Non-locking version of cons_vcons_scrollback. Does also not update |
/* Non-locking version of cons_vcons_scrollback. Does also not update |
68 |
the display. */ |
the display. */ |
69 |
int _cons_vcons_scrollback (vcons_t vcons, cons_scroll_t type, float value); |
int _cons_vcons_scrollback (vcons_t vcons, cons_scroll_t type, float value); |
70 |
|
|
71 |
|
/* Non-locking version of cons_vcons_input. */ |
72 |
|
error_t _cons_vcons_input (vcons_t vcons, char *buf, size_t size); |
73 |
|
|
74 |
|
/* Generate the console event EVENT for console VCONS. */ |
75 |
|
void _cons_vcons_console_event (vcons_t vcons, int event); |
76 |
|
|
77 |
|
|
78 |
/* Called by MiG to translate ports into cons_notify_t. mutations.h |
/* Called by MiG to translate ports into cons_notify_t. mutations.h |
79 |
arranges for this to happen for the fs_notify interfaces. */ |
arranges for this to happen for the fs_notify interfaces. */ |