No more LAYER_NODE_FUNC?

I’m trying to use SneakyInput in my cocos2d-x project, but found LAYER_NODE_FUNC macro is not in the latest cocos2d-x sdk.

Any solution? I’m not sure what’s the right replacement. Using CREATE_FUNC?

I’m kind of confusing. LAYER_NODE_FUNC is still in the official wiki tutorial but then it’s removed from the sdk. That’s pretty misleading to beginners.

Thanks.

Yep, use CREATE_FUNC instead.
I am sorry that we don’t update the tutorial in time.