Revision 323
more stuff
mouse.h | ||
---|---|---|
14 | 14 |
int (mouse_get_got_error_mouse_ih)(void); |
15 | 15 |
const uint8_t* (mouse_get_packet_mouse_ih)(void); |
16 | 16 |
int (mouse_get_counter_mouse_ih)(void); |
17 |
void (mouse_set_counter_mouse_ih)(int n); |
|
17 | 18 |
|
18 |
int got_error_mouse_ih; |
|
19 |
uint8_t packet_mouse_ih[3]; |
|
20 |
int counter_mouse_ih; |
|
21 |
|
|
22 | 19 |
/** |
23 | 20 |
* @brief Parse 3 bytes and returns it as a parsed, struct packet. |
24 | 21 |
* @param packet_bytes array of bytes to parse |
... | ... | |
61 | 58 |
* @return ERROR_CODE code representing the result of the operation, SUCCESS code is returned if everything is OK |
62 | 59 |
* @see {_ERRORS_H_::errors} |
63 | 60 |
*/ |
64 |
int (mouse_issue_cmd)(uint32_t cmd);
|
|
61 |
int (mouse_issue_cmd)(uint8_t cmd);
|
|
65 | 62 |
|
66 | 63 |
/** |
67 | 64 |
* @brief Reads byte from mouse |
Also available in: Unified diff