KEYCODE and BUTTON should become typedefs of CARD8, not CARD32