Remap Windows keyboard to Mac layout
MacOS keyboard preference can remap keys for individual keyboard. This is not a global key remapping, it will not impact other keyboards except the one selected.
- Go to System Preferences
- Click on Keyboard
- Click on Modifier Keys
- Select keyboard to be modified in Select keyboard option
- Map Option key to Command key, and Command key to Option key