For exemple if i want make a diference between my buttons and the values from my joystick (not implemented yet) in serial comunication, how can i do this?
First, I don't see this as a logical thing to do. How can the difference between a joystick value, on a scale of 0 to 1023 and a switch state, 0 or 1, be meaningful.
I think it would be best if you explained what you want to do, rather than how you think you should do it.