Use code generation for keyboard data