Analog Input with Processing

Hi so I am currently trying to attach some infrared sensors to the Analog In ports of an Uno. I have tested and verified that the circuit works in the normal Arduino software, but I can't seem to get it to work in Processing.

That's because that Processing sketch expects you to be running one of the Firmata sketches.

Here is the code for the Arduino sketch:

Which looks nothing like a Firmata sketch.