tools: do a cap check before trying to set buttons/macros/..
tools: do a cap check before trying to set buttons/macros/..

Signed-off-by: Peter Hutterer <b9c50af7afa7642f6f854434cda9ffe54ece8b85@who-t.net>

cvuchener/libratbag,whot/libratbag,NoXPhasma/libratbag,NoXPhasma/libratbag,cvuchener/libratbag,libratbag/libratbag,libratbag/libratbag,whot/libratbag,NoXPhasma/libratbag,libratbag/libratbag,whot/libratbag,cvuchener/libratbag