Project

General

Profile

Revision 250

in-game timer

View differences:

mouse.h
18 18
/**
19 19
 * @brief   Parse 3 bytes and returns it as a parsed, struct packet.
20 20
 * @param   packet_bytes    array of bytes to parse
21
 * @return  parsed struct packet
21
 * @param   pp              Pointer to packet to store the information.
22 22
 */
23
struct packet (mouse_parse_packet)(const uint8_t *packet_bytes);
23
void (mouse_parse_packet)(const uint8_t *packet_bytes, struct packet *pp);
24 24

  
25 25
/**
26 26
 * @brief Polls mouse for data. Blocks execution until a valid mouse packet is obtained.

Also available in: Unified diff