int ** g_bgMartrix = new int*[16]
for(int i = 0; i < 12; i ++) { g_bgMartrix[i] = new int[10]; for(int j = 0; j < 16; j++) { g_bgMartrix[i][j] = gamePad[i][j]; } }
delete []g_bgMartrix;