LittleFOOT OnControlPress

Hi everyone,

I would like to use LittleFoot to program the Control Blocks (ROLI) with the BLOCKS Code application but it does not compile: When I use the function “OnControlPress” I get this error: “Duplicate function declaration”. But I am sure I did not declare this function somewhere else in my code.

Could someone help me and explain to me how to use this function correctly?


The Blocks API description of this function was a little bit confusing and has now been updated:
This function should not be implemented but rather called to trigger the default behaviour for that button. For example you may want to call this after a button has been pressed in your implementation of handleButtonDown().