Alright, I guess EasyC doesn't use function syntax like that. Sorry, I'm really not familiar with it.
In the code given, only 'answer' and 'ramp' are variables. The function's name is 'ramping.' When you call ramping(ramp) where var is an unsigned char, it returns the long 'answer.' This would be how to use it in any code, I guess:
Code:
answer = ((long)ramp - 127);
answer = ((answer) * (answer) * (answer));
answer = ((answer) / (128 * 128));
answer = (answer) + (127);
Just make sure to change 'answer' to whatever variable name you are using for your joystick(s) in values. Just use this on all of your joystick inputs before assigning the PWMs. That should work, maybe somebody more knowledgable in EasyC could help you better.