Rev 4348 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4348 | Rev 4691 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup kbdgen generic |
29 | /** @addtogroup kbdgen generic |
30 | * @brief HelenOS generic uspace keyboard handler. |
30 | * @brief HelenOS generic uspace keyboard handler. |
31 | * @ingroup kbd |
31 | * @ingroup kbd |
32 | * @{ |
32 | * @{ |
33 | */ |
33 | */ |
34 | /** @file |
34 | /** @file |
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 | #include <ipc/ipc.h> |
42 | 42 | ||
43 | #define KBD_EVENT 1024 |
43 | #define KBD_EVENT 1024 |
44 | #define KBD_MS_LEFT 1025 |
44 | #define KBD_MS_LEFT 1025 |
45 | #define KBD_MS_RIGHT 1026 |
45 | #define KBD_MS_RIGHT 1026 |
46 | #define KBD_MS_MIDDLE 1027 |
46 | #define KBD_MS_MIDDLE 1027 |
47 | #define KBD_MS_MOVE 1028 |
47 | #define KBD_MS_MOVE 1028 |
48 | 48 | ||
49 | typedef enum { |
49 | typedef enum { |
50 | KBD_YIELD = IPC_FIRST_USER_METHOD, |
50 | KBD_YIELD = IPC_FIRST_USER_METHOD, |
51 | KBD_RECLAIM |
51 | KBD_RECLAIM |
52 | } kbd_request_t; |
52 | } kbd_request_t; |
53 | 53 | ||
54 | extern int cir_service; |
54 | extern int cir_service; |
55 | extern int cir_phone; |
55 | extern int cir_phone; |
Line 59... | Line 59... | ||
59 | 59 | ||
60 | #endif |
60 | #endif |
61 | 61 | ||
62 | /** |
62 | /** |
63 | * @} |
63 | * @} |
64 | */ |
64 | */ |
65 | - |