Add interrupt code to read keyboard