function initDiamondKey() {
  var newLayoutData = {
    '1D': [65.0, 287.0, 60.0, 60.0],      // left Ctrl
    '38': [185.0, 287.0, 60.0, 60.0],     // left Alt
    'E0 5B': [125.0, 287.0, 60.0, 60.0],  // search
    '3A': [5.0, 167.0, 105.0, 60.0],      // caps lock
    '5B': [803.0, 6.0, 72.0, 35.0],       // lock key
    '5D': [5.0, 287.0, 60.0, 60.0]        // diamond key
  };
  var newKeyData = {
    '3A': {'label': 'caps lock', 'format': 'left'},
    '5B': {'label': 'lock'},
    '5D': {'label': 'diamond', 'format': 'left'}
  };
  var keysToRemove = [
    '00',  // The power key.
  ];
  modifyLayoutAndKeyData(newLayoutData, newKeyData, keysToRemove);
}
/**
 * Initializes the layout and the key labels for the keyboard that has a diamond
 * key.
 */
Initializes the layout and the key labels for the keyboard that has a diamond
key.
Initializes the layout and the key labels for the keyboard that has a diamond key .
function initDiamondKey() {
  var newLayoutData = {
    '1D': [65.0, 287.0, 60.0, 60.0],      
    '38': [185.0, 287.0, 60.0, 60.0],     
    'E0 5B': [125.0, 287.0, 60.0, 60.0],  
    '3A': [5.0, 167.0, 105.0, 60.0],      
    '5B': [803.0, 6.0, 72.0, 35.0],       
    '5D': [5.0, 287.0, 60.0, 60.0]        
  };
  var newKeyData = {
    '3A': {'label': 'caps lock', 'format': 'left'},
    '5B': {'label': 'lock'},
    '5D': {'label': 'diamond', 'format': 'left'}
  };
  var keysToRemove = [
    '00',  
  ];
  modifyLayoutAndKeyData(newLayoutData, newKeyData, keysToRemove);
}
function initDiamondKey ( ) { var newLayoutData = { '1D' : [ 65.0 , 287.0 , 60.0 , 60.0 ] , '38' : [ 185.0 , 287.0 , 60.0 , 60.0 ] , 'E0 5B' : [ 125.0 , 287.0 , 60.0 , 60.0 ] , '3A' : [ 5.0 , 167.0 , 105.0 , 60.0 ] , '5B' : [ 803.0 , 6.0 , 72.0 , 35.0 ] , '5D' : [ 5.0 , 287.0 , 60.0 , 60.0 ] } ; var newKeyData = { '3A' : { 'label' : 'caps lock' , 'format' : 'left' } , '5B' : { 'label' : 'lock' } , '5D' : { 'label' : 'diamond' , 'format' : 'left' } } ; var keysToRemove = [ '00' , ] ; modifyLayoutAndKeyData ( newLayoutData , newKeyData , keysToRemove ) ; }
Initializes the layout and the key labels for the keyboard that has a diamond
 key.
Initializes the layout and the key labels for the keyboard that has a diamond key .
// left Ctrl // left Alt // search // caps lock // lock key // diamond key // The power key.