1. A computer-readable medium comprising program code, comprising: program code for receiving electronic content; program code for receiving a plurality of predefined haptic effects; program code for receiving an association between at least one predefined haptic effect from the plurality of predefined haptic effects and a predefined event; program code for identifying an occurrence of the predefined event, the occurrence of the predefined event associated with a portion of the electronic content; and program code for, in response to identifying the occurrence of the predefined event, generating the at least one predefined haptic effect associated with the predefined event.