US 11,726,568 B2
Haptics application programming interface
Douglas A. Scott, Mountain View, CA (US); Michael Y. Diu, Campbell, CA (US); Camille Moussette, Los Gatos, CA (US); Jean-Pierre Mouilleseaux, San Francisco, CA (US); Linus Persson, Cupertino, CA (US); Madeleine Cordier, San Francisco, CA (US); Jules Fennis, Mountain View, CA (US); Mel He, Sunnyvale, CA (US); and Brian Gleeson, Mountain View, CA (US)
Assigned to APPLE INC., Cupertino, CA (US)
Filed by Apple Inc., Cupertino, CA (US)
Filed on May 29, 2020, as Appl. No. 16/888,295.
Claims priority of provisional application 62/855,876, filed on May 31, 2019.
Prior Publication US 2020/0379569 A1, Dec. 3, 2020
Int. Cl. G06F 3/01 (2006.01); G06F 3/16 (2006.01)
CPC G06F 3/016 (2013.01) [G06F 3/165 (2013.01); G06F 3/167 (2013.01)] 25 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
receiving, using a device, a command to generate a haptic output in accordance with a haptic event, the haptic event specifying a sharpness value and an intensity value of the haptic output;
determining a waveform corresponding to the sharpness value, wherein the waveform is determined using a mapping of the sharpness value to the waveform and the mapping is dependent on a hardware type of the device;
scaling the waveform, based at least in part on the intensity value; and
generating the haptic output based at least in part upon the scaled waveform.