Patent ID: 8360669

Claim:
An electronic pen comprising: a retractable cartridge having a nib at a first end for contacting a surface, said cartridge being configurable in an extended position, wherein said nib protrudes from a body of said pen, and a retracted position wherein said nib is retracted in said body; a retraction mechanism for extending and retracting said cartridge; a button for actuating said retraction mechanism; and a sensing arrangement for sensing a configuration of said pen, said sensing arrangement comprising: a button sensor coupled to said button, said button sensor sensing actuation of said button; and a cartridge sensor cooperating with said cartridge, said cartridge sensor sensing whether said cartridge is extended or retracted, said cartridge sensor comprising an optical sensor positioned for sensing at least part of said cartridge; and a processor cooperating with said sensing arrangement, said processor being adapted to configure a state of the pen in response to one or more input signals from the sensing arrangement.