case 0xbe:{return 1;break;}
case 0xde:{return 2;break;}
case 0xee:{return 3;break;}
//第二行
case 0x7d:{return 4;break;}
case 0xbd:{return 5;break;}
case 0xdd:{return 6;break;}
case 0xed:{return 7;break;}
//第三行
case 0x7b:{return 8;break;}
case 0xbb:{return 9;break;}
case 0xdb:{return 10;break;}
case 0xeb:{return 11;break;}
//第四行
case 0x77:{return 12;break;}
case 0xb7:{return 13;break;}
case 0xd7:{return 14;break;}
case 0xe7:{return 15;break;}
}
if(k==k_temp)
{
k=0xfe;
do
{
P1=k;
if(k!=P1)
{
switch(P1)
{
//第一行
case 0x7e:{return 0;break;}
case 0xbe:{return 1;break;}
case 0xde:{return 2;break;}
case 0xee:{return 3;break;}
//第二行
case 0x7d:{return 4;break;}
case 0xbd:{return 5;break;}
case 0xdd:{return 6;break;}
case 0xed:{return 7;break;}
//第三行
case 0x7b:{return 8;break;}
case 0xbb:{return 9;break;}
case 0xdb:{return 10;break;}
case 0xeb:{return 11;break;}
//第四行
case 0x77:{return 12;break;}
case 0xb7:{return 13;break;}
case 0xd7:{return 14;break;}
case 0xe7:{return 15;break;}
}