A method, comprising: at an electronic device with a display, a touch-sensitive surface, and one or more tactile output generators: receiving, at an application-independent module, from an application-specific module that is associated with a first application, information about an input directed to a user interface of the first application, wherein: an operation performed in the user interface of the first application in response to detecting the input is associated with a tactile output pattern specified by the application-specific module; and the information about the input includes information indicating a magnitude of the operation performed in the user interface in response to detecting the input; and in response to receiving the information about the input directed to the user interface of the first application, generating, via the one or more tactile output generators, a tactile output that corresponds to the operation performed in the user interface of the first application, wherein: the tactile output has the tactile output pattern specified by the application-specific module; and the tactile output has an amplitude determined by the application-independent module in accordance with the magnitude of the operation performed in the user interface of the first application in response to detecting the input. receiving, at an application-independent module, from an application-specific module that is associated with a first application, information about an input directed to a user interface of the first application, wherein: an operation performed in the user interface of the first application in response to detecting the input is associated with a tactile output pattern specified by the application-specific module; and the information about the input includes information indicating a magnitude of the operation performed in the user interface in response to detecting the input; and an operation performed in the user interface of the first application in response to detecting the input is associated with a tactile output pattern specified by the application-specific module; and the information about the input includes information indicating a magnitude of the operation performed in the user interface in response to detecting the input; and in response to receiving the information about the input directed to the user interface of the first application, generating, via the one or more tactile output generators, a tactile output that corresponds to the operation performed in the user interface of the first application, wherein: the tactile output has the tactile output pattern specified by the application-specific module; and the tactile output has an amplitude determined by the application-independent module in accordance with the magnitude of the operation performed in the user interface of the first application in response to detecting the input. the tactile output has the tactile output pattern specified by the application-specific module; and the tactile output has an amplitude determined by the application-independent module in accordance with the magnitude of the operation performed in the user interface of the first application in response to detecting the input.