Rev 4153 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4153 | Rev 4581 | ||
---|---|---|---|
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 | 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 |
- | 48 | ||
- | 49 | typedef enum { |
|
- | 50 | KBD_YIELD = IPC_FIRST_USER_METHOD, |
|
- | 51 | KBD_RECLAIM |
|
- | 52 | } kbd_request_t; |
|
47 | 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); |
Line 53... | Line 59... | ||
53 | 59 | ||
54 | #endif |
60 | #endif |
55 | 61 | ||
56 | /** |
62 | /** |
57 | * @} |
63 | * @} |
58 | */ |
64 | */ |
59 | - |