N900 Hardware Switches

There are many switches in the N900, varying from the lockswitch to the headphone socket insertion detection switch. This page outlines how they are implemented in hardware and where the software API for them is.