renamed volume button constants
This commit is contained in:
parent
2793ae4973
commit
7de8c5afc2
7 changed files with 15 additions and 15 deletions
|
|
@ -105,11 +105,11 @@ int main (int argc, char *argv[]) {
|
|||
case CODE_POWER:
|
||||
power_pressed = val;
|
||||
break;
|
||||
case CODE_VOL_UP:
|
||||
case CODE_PLUS:
|
||||
up_pressed = up_just_pressed = val;
|
||||
if (val) up_repeat_at = now + 300;
|
||||
break;
|
||||
case CODE_VOL_DN:
|
||||
case CODE_MINUS:
|
||||
down_pressed = down_just_pressed = val;
|
||||
if (val) down_repeat_at = now + 300;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue