9 #define MAXREPORTLEN 256
10 #define MAXREPORTS 256
12 typedef void ProcessReport(uint8_t msg[MAXREPORTLEN], int msglen,
13 const uint8_t last[MAXREPORTLEN]);
15 extern const char *const descriptor;
16 extern ProcessReport *const report_processors[MAXREPORTS];
26 int pos, rshift, sign; /* mask is applied before rshift */
30 void reportbits(const uint8_t msg[], const uint8_t last[],
31 int len, const KeyBit bits[]);
33 void reportlocs(const uint8_t msg[], const uint8_t last[],
34 int len, const ValLoc locs[]);
36 #endif /*HIDRAWCONV_H*/