problem compiling UsbKeyboard in 0018


I've been trying for a while to get RancidBacon's USB emulation implementation working in 0018 without success so I've been using 0016 and release 002 of USBKeyboard which works OK.

Having found this post:

I've tried moving back to 0018 & release 004 with this fix, and the demo does now compile & upload, but the USB device is unrecognised when I connect it. I've re-tested the shield with 0016 & 002 (to make sure it wasn't a hardware issue) & it's fine...

Could anyone who's managed to get this to work under Arduino 0018 let me know what they had to do to make it work? (I have done a complete clean down & started again, to no avail).