Adding generic keyboard up/down support.