Added number keypad support for Mac.