On Sunday 02 January 2011 15:42:42 [email protected] 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.
--HPS
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"