This fixes bug #3590814. The case for KP0-KP9 can probably be removed as it should be handled by the case above. But I don't have a keyboard with keypad to test. So I am leaving it for now.