faderport: make ::invoke() tell us whether or not something was actually invoked...
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 26 Mar 2018 22:26:39 +0000 (18:26 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 26 Mar 2018 22:26:39 +0000 (18:26 -0400)
commit224295266f2942974095b66d74b70c7c000bc470
tree7e067ac0d1a1ad2f08169d9069be7a3468206cc0
parentddfc37e42a27e31f6916100c5bbc3f04ba104522
faderport: make ::invoke() tell us whether or not something was actually invoked for a button event

Only put the button into "consumed" if it actually invoked something.
This helps to get reverse-polarity footswitches to work as expected
libs/surfaces/faderport/faderport.cc
libs/surfaces/faderport/faderport.h