The problem is, only the white keys are detected - unless, of course, the white keys are removed, in which case the black ones work fine, so the problem must be priority. The control number of each black key is one greater than the previous white key, if that helps. The black keys are also at -32 in Z.