Revision 339
more changes
mouse.h | ||
---|---|---|
19 | 19 |
int (subscribe_mouse_interrupt)(uint8_t interrupt_bit, int *interrupt_id); |
20 | 20 |
|
21 | 21 |
//These have to do with mouse_ih |
22 |
/** |
|
23 |
* @brief Get previous mouse interrupt handler call exit code. |
|
24 |
* @return Exit code of previous mouse IH call |
|
25 |
*/ |
|
22 | 26 |
int (mouse_get_got_error_mouse_ih)(void); |
27 |
/** |
|
28 |
* @brief Get mouse packet. |
|
29 |
* @return Pointer to mouse packet |
|
30 |
*/ |
|
23 | 31 |
const uint8_t* (mouse_get_packet_mouse_ih)(void); |
32 |
/** |
|
33 |
* @brief Number of mouse bytes received (0 to 3). |
|
34 |
* @return Number of bytes |
|
35 |
*/ |
|
24 | 36 |
int (mouse_get_counter_mouse_ih)(void); |
37 |
/** |
|
38 |
* @brief Set number of received mouse bytes. |
|
39 |
* |
|
40 |
* Usually this function is used to reset counter_mouse_ih. |
|
41 |
* @param n New value of the counter |
|
42 |
*/ |
|
25 | 43 |
void (mouse_set_counter_mouse_ih)(int n); |
26 | 44 |
|
27 | 45 |
/** |
Also available in: Unified diff