[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: switch from ADB to linux keycodes ...



> What about mouse data on the adb bus?  Would the device address be
> the resolution for whether it is mouse or keyboard?

The mouse data packets will have a different device address
(data[0]>>4) & 0xf, so you can filter on that for debugging purpose (the
adbhid input routine returns if the device address isn't registered as a
keyboard anyway). The question is are there any _keyboard_ packets from
register > 0 or length !=3.

	Michael



Reply to: