4-12 Chapter 4: Programming
ForeachKEYBOARD_MAPdevicelocated,SetKeyMatrix createsafull
defaultkeyboardmatrixthatduplicatesthefactory‐defaultmatrixof
thespecificproductlocated.Next,theregistryisreadforreplacement
valueswithintheKeyboardMatrix.Allregistryvaluesfoundinthe
appropriateregistrykeyarereplacedwithinthedefaultmatrix.
Finally,
thefullkeymatrixasmodifiedbyregistryvaluesissenttothe
keyboardusingtheKEYBOARD_MAPfeaturereport.