I've made a few packages/patches for debugging purposes:
http://bryceharrington.org/ubuntu/EvdevBug280646/
x11-xkb-utils-xkbwatch-dbg.patch - modifies xkbwatch to print changes to stdout
*~instrumented* - Instruments -evdev to print out the keys (code=) and the action value (0=keyup, 1=keydown, 2=chorded-with-another-key)
*git20081009* - Git snapshot of current -evdev code (without any of the ubuntu/debian patches applied).
I've made a few packages/patches for debugging purposes:
http:// bryceharrington .org/ubuntu/ EvdevBug280646/
x11-xkb- utils-xkbwatch- dbg.patch - modifies xkbwatch to print changes to stdout