I still have to fill in the code of KeyIrq.