Well, the G-Sensor is a piece of hardware inside the device. But to interface with this hardware and produce a result (ie. which way the device is orientated) you need software. So they are probably just calibrating it to make sure it returns the correct value.