Extended key (select key type)

This commit is contained in:
phdlee
2018-04-24 17:26:34 +09:00
parent 6be127d811
commit 6add092391
7 changed files with 154 additions and 80 deletions

View File

@@ -185,10 +185,11 @@ int getBtnStatus(void){
else
{
readButtonValue = readButtonValue / 4;
//return FKEY_VFOCHANGE;
for (int i = 0; i < 16; i++)
if (KeyValues[i][0] <= readButtonValue && KeyValues[i][1] >= readButtonValue)
return i;
return KeyValues[i][2];
//return i;
}
return -1;