Complete the input class of bmp2lua kernel