1. A haptic feedback method, applicable to an electronic device including a touch input unit, wherein the haptic feedback method comprises: when an operation is performed on the touch input unit by an operating object, obtaining a first parameter indicating a type of the operating object, wherein the type of the operating object is the type of the operating object itself or the type of the object emulated by the operating object; determining a feedback parameter of a force feedback unit at least based on the first parameter, wherein the force feedback unit is arranged on the touch input unit or arranged on the operating object; and controlling the force feedback unit based on the feedback parameter to generate and output to a user a feedback force corresponding to the type of the operating object.