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. */
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
,
21 void inputdriver_terminate(void);
22 void inputdriver_task(struct inputdriver
*idp
);
24 #endif /* !_MINIX_INPUTDRIVER_H */