@petermblair: I didn't test this beyond it compiling because I don't have any keyboards that have a keypad :-p