Naga_KeypadMapper
Naga_KeypadMapper copied to clipboard
buttons 13 and 14 can't detect release
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 ;)
Someone should fix this
I see, you can make a pull request with this change and I will merge it. If you dont feel like it I will do it. Thanks!