custom message for SHMGET
[minix3.git] / include / minix / inputdriver.h
blobf225a8cf1918f3c677cd83ef8f749df4a9308e92
1 #ifndef _MINIX_INPUTDRIVER_H
2 #define _MINIX_INPUTDRIVER_H
4 #include <minix/driver.h>
5 #include <minix/input.h>
7 /* Entry points into the device dependent code of input drivers. */
8 struct inputdriver {
9 void (*idr_leds)(unsigned int leds);
10 void (*idr_intr)(unsigned int mask);
11 void (*idr_alarm)(clock_t stamp);
12 void (*idr_other)(message *m_ptr, int ipc_status);
15 /* Functions defined by libinputdriver. */
16 void inputdriver_announce(unsigned int type);
17 void inputdriver_send_event(int mouse, unsigned short page,
18 unsigned short code, int value, int flags);
19 void inputdriver_process(struct inputdriver *idp, message *m_ptr,
20 int ipc_status);
21 void inputdriver_terminate(void);
22 void inputdriver_task(struct inputdriver *idp);
24 #endif /* !_MINIX_INPUTDRIVER_H */