Patent attributes
An input device, such as a stylus, can include a piezoelectric device for providing haptic feedback and/or detecting user input. The piezoelectric device can be coupled to an inner surface of a housing of the stylus. The piezoelectric device can provide haptic feedback with a force to the housing when an electric voltage is applied to the piezoelectric device. The haptic feedback can provide information to the user relating operation of the stylus with an external device. The piezoelectric device can also produce an electric voltage when an input force is applied to an outer surface of the housing and transmitted to the piezoelectric device. The electric voltage can be used to detect tactile input from a user.