Skip to content

buttons 13 and 14 can't detect release #66

@lostallmymoney

Description

@lostallmymoney

if (ev2[1].type == 1 && ev2[1].value == 1) //Only extra buttons
switch (ev2[1].code) {
case 275:
case 276:
chooseAction(ev2[1].code - OFFSET, 1);
break;
// do nothing on default
}

should be

if (ev2[1].type == 1) //Only extra buttons
switch (ev2[1].code) {
case 275:
case 276:
chooseAction(ev2[1].code - OFFSET, ev2[1].value);
break;
// do nothing on default
}

The current version makes people unable to run things when releasing the 13th and 14th buttons.
I also suggest "upgrading" to my version for an easier to edit code using classes ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions