Sample Header Ad - 728x90

Microsoft/Windows keyboard number pad with macOS

5 votes
2 answers
7114 views
I recently purchased a Microsoft keyboard with a number pad. When trying to use the Mac calculator app with the number pad I have an issue where typing a number will clear out previous numbers. E.g if I wanted to type "100" in the calculator, I would press 1 0 0. However, the result that shows in the calculator is not 100, but just 0, because it was the last number I pressed. Example: ![Animated gif of the Calculator app showing the input of the number '100' where the display is only showing the '0' ][1] Are my mappings incorrect and causing this issue? Using Key Codes to check what each key on the numpad does: 1 on the numpad, seems to provide two key down events:
Key Down
     Characters: 
     Unicode:    63289 / 0xf739
     Keys:
     Key Code:   71 / 0x47
     Modifiers:  10486016 / 0xa00100

Key Down
     Characters: 1
     Unicode:    49 / 0x31
     Keys:       #1
     Key Code:   83 / 0x53
     Modifiers:  2097408 / 0x200100
Asked by user1486133 (151 rep)
Jun 24, 2021, 11:04 AM
Last activity: Oct 3, 2024, 05:00 PM