I don't really like having an unmerged section of code, even if it's commented out. (Commented-out code is a known "code smell", as well.) Can you either remove this or add the functionality directly for the keyboard?