How do I send Joystick data - x/y location and also character like 'A', 'B', 'C'?

The attached is a MIT APP of a Joystick that send the x/y location data and also the character such like 'A', 'B', 'C' etc.
How to make a distinction sending, and let the receiver can easily use them?

JMMAGCOR.aia (171.4 KB)
The APP modified from a project at ai2.