Substituting a mouse input for two axes accelerometer input-Arduino/Processing

ADXL3XX

Which type exactly? The ones I know use I2C or SPI to transfer the values so the analog inputs are not used. If you have a Leonardo you can simulate the mouse for all applications not just Processing.