On Sunday 02 January 2011 15:42:42 too.much.dudes_at_gmail.com wrote: > already tried variants : > offset+=4 && len-=4 > offset+=0 && len-=4 > and yours, but they doesn't have correct effect > (yours variant gives some addition lags: > for example pressing "o" presses Scroll Lock, "h" - WIN_L and etc) Hi, Maybe you can add a printout, to dump the len bytes: uint32_t yy; printf("UKBD data: "); for (yy = 0; yy != len; yy++) { uint8_t temp; usbd_copy_out(pc, offset + yy, &temp, 1); printf("0x%02x ", (int)temp); } printf("\n"); I guess the reason your keyboard doesn't work is that we don't parse any HID descriptors in UKBD. --HPSReceived on Sun Jan 02 2011 - 13:56:16 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC