You're right. Inkey does not return a value in lite-C, so you need the workaround described by zazang.

This will be fixed.