Guys if you want to change buttons F4 (launchpad), F5 (brightness low) and F6 (brightness up) as it was before on older Macs just add this code into your Library folder:
~/Library/LaunchAgents` saving the file with .plist extension (full name of file should be: com.local.KeyRemapping.plist)
It will Remapping your keyboard settings on launch of your system.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.local.KeyRemapping</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/hidutil</string>
<string>property</string>
<string>--set</string>
<string>{"UserKeyMapping":[
{
"HIDKeyboardModifierMappingSrc": 0xC000000CF,
"HIDKeyboardModifierMappingDst": 0xFF00000009
},
{
"HIDKeyboardModifierMappingSrc": 0x10000009B,
"HIDKeyboardModifierMappingDst": 0xFF00000008
},
{
"HIDKeyboardModifierMappingSrc": 0xC00000221,
"HIDKeyboardModifierMappingDst": 0x0C000002A2
}
]}</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>