Re: switch from ADB to linux keycodes ...
> Well, I know of at least one other type of ADB keyboard where
> this wouldn't work. The keyboard on my old PowerWave generates
> different events for CapsLock:
> 1st press: 0x39
> 1st release: 0x80
> 2nd press: 0xb9
> 2nd release: 0x80
> So that requires a different hack to get CapsLock to behave the
> "right" way.
:-) My ADB knowledge is a bit rusty - are there any other instances where
a response packet byte has the highest bit set? Otherwise reply&0x80
would be a test to catch both.