Extended key (select key type)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user