2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 *This file contains the list of BEAT theme haptics.
20 *The various variables used to describe a haptic are-
22 *name:The name of the haptic to be used as reference later in the theme.
23 *magnitude:The Magnitude of an effect corresponds to its strength, or the amplitude of the vibration.
24 *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.
25 *attack_level :The Attack Level specifies the initial strength of the effect.
26 *attack_time: specifies the amount of time, in milliseconds, for the effect to ramp from the Attack Level to the Magnitude.
27 *fade_level: It specifies the final strength of effect to be reduced to from magnitude at the end of effect's fade time
28 *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.
29 *type: The Haptic types i.e MAGSWEEP or PERIODIC
30 *pattern:The Full pattern of Haptic - in hexadecimal values
32 *NOTE-Present implementation uses only name and pattern parameters to play haptic
40 name: "TOUCH_HAPTIC" ;
42 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" ;
46 name: "ALARM_HAPTIC" ;
48 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" ;
52 name: "WARNING_HAPTIC" ;
54 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" ;
60 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" ;
66 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" ;
70 name:"RELEASE_HAPTIC" ;
72 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" ;
79 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" ;
83 name: "DOUBLE_TAP_HAPTIC" ;
85 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" ;
89 name: "LONG_TAP_HAPTIC" ;
91 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" ;