When you plug in or set up a new keyboard on your Mac, you may get a pop up stating your keyboard needs to be identified. You can proceed with the following steps:
1. Click on System
Settings
2. Scroll down until
you see keyboard then click on change keyboard type