CPC H02P 6/006 (2013.01) [G06F 3/04847 (2013.01); G06F 3/0488 (2013.01); H02P 25/06 (2013.01)] | 19 Claims |
1. A method for controlling a linear motor, applicable to an electronic device, wherein the electronic device comprises a linear motor, and the method comprises:
determining, in response to an operation instruction, a vibration description file of an operation object of the operation instruction; and
outputting a vibration sense that meets a waveform requirement of the vibration description file, wherein the vibration sense is provided by a linear motor in a first vibration state, and the first vibration state matches an attribute of the linear motor.
|