A portable electronic device includes communication circuitry operative to establish a communication over a communication network, an input device for entering at least one user input into the electronic device, and at least one contactless sensor. The contactless sensor is operative to detect at least one of motion or position of the input device relative to the electronic device.