How to read multiple sensors in Processing using Arduino I2C

Everything on those pages explain what it is but I’m mainly looking for the coding on how to put it in processing I have the acc xyz and the time and the gyro xyz plus magnetic xyz in arduino. I have full rotation on my processing with the roll pitch and yaw from angular attitude but I want to add velocity and position to my processing code. Also I read on the gaming page that the wii controllers counter the error of velocity and position by adding regular resets so I need to put that in also but I’m unsure on the coding side I think I know a little but I need more info I’ve looked on alot of stuff and have some code but I’ve gotta work it into my code for the sensor I have coded.