3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
21 *This file contains the list of BEAT theme haptics.
22 *The various variables used to describe a haptic are-
24 *name:The name of the haptic to be used as reference later in the theme.
25 *magnitude:The Magnitude of an effect corresponds to its strength, or the amplitude of the vibration.
26 *duration :The Duration parameter specifies how long the effect lasts from start to finish including the envelope that is the means of shaping the strength of effect in time.
27 *attack_level :The Attack Level specifies the initial strength of the effect.
28 *attack_time: specifies the amount of time, in milliseconds, for the effect to ramp from the Attack Level to the Magnitude.
29 *fade_level: It specifies the final strength of effect to be reduced to from magnitude at the end of effect's fade time
30 *fade_time: corresponds to the amount of time before the end of the effect, for the vibration to ramp between the Magnitude and the Fade Level.
31 *type: The Haptic types i.e MAGSWEEP or PERIODIC
32 *pattern:The Full pattern of Haptic - in hexadecimal values
34 *NOTE-Present implementation uses only name and pattern parameters to play haptic
42 name: "TOUCH_HAPTIC" ;
44 pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
48 name: "ALARM_HAPTIC" ;
50 pattern:"01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1,E0,02,E2,01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ;
54 name: "WARNING_HAPTIC" ;
56 pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,72,FF,20,01,00,00,7F,00,00,41,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
62 pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,41,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
68 pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
72 name:"RELEASE_HAPTIC" ;
74 pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,41,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
81 pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,33,FF,20,01,00,00,7F,00,00,E1,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
85 name: "DOUBLE_TAP_HAPTIC" ;
87 pattern: "01,00,01,00,12,00,14,00,00,00,30,85,00,06,00,00,7F,00,20,0A,00,00,0D,00,00,01,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
91 name: "LONG_TAP_HAPTIC" ;
93 pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,BB,FF,20,01,00,00,7F,00,00,E1,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;