Thanks Sean for your help, i solved that problem , but now i don’t know how to associate the buttons to some specify actions not temporary but permanent as i did with buttons 1,2 .
I tried to replace mouse with USBEncoder but i don’t know witch number or letter are the button.
section Tools
section DefaultTools
# Assegna il comando piove/asciuga ai pulsanti “1” e “2”:
section WaterTool
toolClass GlobalWaterTool
bindings ((Mouse, 1, 2))
endsection
endsection