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?

Thanks!

The Blocks API description of this function was a little bit confusing and has now been updated:
https://docs.juce.com/master/group__LittleFootFunctions.html#ga798ceea405319c8315828877f6b256cd
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().

Cheers,

Mike