|
1 /* |
|
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: CR Keys for the configurable parameters related to physical |
|
15 * vibrator and audio feedback effects played by |
|
16 * Tactile Feedback Resolver |
|
17 * Part of: Tactile Feedback. |
|
18 * |
|
19 */ |
|
20 |
|
21 #ifndef TACTILEFEEDBACKPRIVATECRKEYS_H |
|
22 #define TACTILEFEEDBACKPRIVATECRKEYS_H |
|
23 |
|
24 #include <e32std.h> |
|
25 #include "tactilefeedbackdomaincrkeys.h" |
|
26 |
|
27 |
|
28 /** |
|
29 * Minimun allowed interval of physical feedback effects |
|
30 * |
|
31 * This key can be used for filtering the feedback requests in case that is |
|
32 * required by device HW. For example: When painting text in editors, it is |
|
33 * possible to generate dozens of feedback requests in a second. This may feel |
|
34 * very unpleasant to end user. |
|
35 * |
|
36 * This key defines the minimum time that must have passed since previous |
|
37 * feedback request, or otherwise feedback request is ignored. |
|
38 * |
|
39 * If this key value is defined to zero, then this feature is disabled (i.e. |
|
40 * all feedbacks are played no matter how fast they come). |
|
41 * |
|
42 * Possible values are: |
|
43 * Integer value that represents the minimum interval in milliseconds, or |
|
44 * zero for disabling the feature. |
|
45 * |
|
46 * Default value: 50ms |
|
47 **/ |
|
48 const TUint32 KTactileFeedbackMinimumInterval = 0x0000001F; |
|
49 |
|
50 // ============================================================================= |
|
51 // Configuration options related to vibrator parameters |
|
52 // |
|
53 // These settings are customizable but not changeable by end user |
|
54 // ============================================================================= |
|
55 |
|
56 /** |
|
57 * Vibra intensity setting for logical feedback type ETouchFeedbackBasic |
|
58 * and vibra effect level ETactileFeedbackVibraLevel1. |
|
59 * |
|
60 * Possible values are: |
|
61 * Integers from 0 to 100. See HWRMVibra.h for more information. |
|
62 * Zero intensity will disable this logical feedback type. |
|
63 * |
|
64 * Default value: 10 |
|
65 **/ |
|
66 const TUint32 KTactileVibraIntensityBasicLevel1 = 0x00000020; |
|
67 |
|
68 /** |
|
69 * Vibra intensity setting for logical feedback type ETouchFeedbackBasic |
|
70 * and vibra effect level ETactileFeedbackVibraLevel2. |
|
71 * |
|
72 * Possible values are: |
|
73 * Integers from 0 to 100. See HWRMVibra.h for more information. |
|
74 * Zero intensity will disable this logical feedback type. |
|
75 * |
|
76 * Default value: 40 |
|
77 **/ |
|
78 const TUint32 KTactileVibraIntensityBasicLevel2 = 0x00000021; |
|
79 |
|
80 /** |
|
81 * Vibra intensity setting for logical feedback type ETouchFeedbackBasic |
|
82 * and vibra effect level ETactileFeedbackVibraLevel3. |
|
83 * |
|
84 * Possible values are: |
|
85 * Integers from 0 to 100. See HWRMVibra.h for more information. |
|
86 * Zero intensity will disable this logical feedback type. |
|
87 * |
|
88 * Default value: 40 |
|
89 **/ |
|
90 const TUint32 KTactileVibraIntensityBasicLevel3 = 0x00000022; |
|
91 |
|
92 /** |
|
93 * Vibra duration setting for logical feedback type ETouchFeedbackBasic |
|
94 * and vibra effect level ETactileFeedbackVibraLevel1. |
|
95 * |
|
96 * Duration is given in milliseconds, and zero value will disable this |
|
97 * logical feedback type. |
|
98 * |
|
99 * Possible values are: |
|
100 * Integer values from zero upwards. |
|
101 * |
|
102 * Default value: 15 |
|
103 **/ |
|
104 const TUint32 KTactileVibraDurationBasicLevel1 = 0x00000023; |
|
105 |
|
106 /** |
|
107 * Vibra duration setting for logical feedback type ETouchFeedbackBasic |
|
108 * and vibra effect level ETactileFeedbackVibraLevel2. |
|
109 * |
|
110 * Duration is given in milliseconds, and zero value will disable this |
|
111 * logical feedback type. |
|
112 * |
|
113 * Possible values are: |
|
114 * Integer values from zero upwards. |
|
115 * |
|
116 * Default value: 20 |
|
117 **/ |
|
118 const TUint32 KTactileVibraDurationBasicLevel2 = 0x00000024; |
|
119 |
|
120 /** |
|
121 * Vibra duration setting for logical feedback type ETouchFeedbackBasic |
|
122 * and vibra effect level ETactileFeedbackVibraLevel3. |
|
123 * |
|
124 * Duration is given in milliseconds, and zero value will disable this |
|
125 * logical feedback type. |
|
126 * |
|
127 * Possible values are: |
|
128 * Integer values from zero upwards. |
|
129 * |
|
130 * Default value: 30 |
|
131 **/ |
|
132 const TUint32 KTactileVibraDurationBasicLevel3 = 0x00000025; |
|
133 |
|
134 |
|
135 /** |
|
136 * Vibra intensity setting for logical feedback type ETouchFeedbackSensitive |
|
137 * and vibra effect level ETactileFeedbackVibraLevel1. |
|
138 * |
|
139 * Possible values are: |
|
140 * Integers from 0 to 100. See HWRMVibra.h for more information. |
|
141 * Zero intensity will disable this logical feedback type. |
|
142 * |
|
143 * Default value: 50 |
|
144 **/ |
|
145 const TUint32 KTactileVibraIntensitySensitiveLevel1 = 0x00000026; |
|
146 |
|
147 /** |
|
148 * Vibra intensity setting for logical feedback type ETouchFeedbackSensitive |
|
149 * and vibra effect level ETactileFeedbackVibraLevel2. |
|
150 * |
|
151 * Possible values are: |
|
152 * Integers from 0 to 100. See HWRMVibra.h for more information. |
|
153 * Zero intensity will disable this logical feedback type. |
|
154 * |
|
155 * Default value: 100 |
|
156 **/ |
|
157 const TUint32 KTactileVibraIntensitySensitiveLevel2 = 0x00000027; |
|
158 |
|
159 /** |
|
160 * Vibra intensity setting for logical feedback type ETouchFeedbackSensitive |
|
161 * and vibra effect level ETactileFeedbackVibraLevel3. |
|
162 * |
|
163 * Possible values are: |
|
164 * Integers from 0 to 100. See HWRMVibra.h for more information. |
|
165 * Zero intensity will disable this logical feedback type. |
|
166 * |
|
167 * Default value: 10 |
|
168 **/ |
|
169 const TUint32 KTactileVibraIntensitySensitiveLevel3 = 0x00000028; |
|
170 |
|
171 |
|
172 /** |
|
173 * Vibra duration setting for logical feedback type ETouchFeedbackSensitive |
|
174 * and vibra effect level ETactileFeedbackVibraLevel1. |
|
175 * |
|
176 * Duration is given in milliseconds, and zero value will disable this |
|
177 * logical feedback type. |
|
178 * |
|
179 * Possible values are: |
|
180 * Integer values from zero upwards. |
|
181 * |
|
182 * Default value: 5 |
|
183 **/ |
|
184 const TUint32 KTactileVibraDurationSensitiveLevel1 = 0x00000029; |
|
185 |
|
186 /** |
|
187 * Vibra duration setting for logical feedback type ETouchFeedbackSensitive |
|
188 * and vibra effect level ETactileFeedbackVibraLevel2. |
|
189 * |
|
190 * Duration is given in milliseconds, and zero value will disable this |
|
191 * logical feedback type. |
|
192 * |
|
193 * Possible values are: |
|
194 * Integer values from zero upwards. |
|
195 * |
|
196 * Default value: 10 |
|
197 **/ |
|
198 const TUint32 KTactileVibraDurationSensitiveLevel2 = 0x0000002a; |
|
199 |
|
200 /** |
|
201 * Vibra duration setting for logical feedback type ETouchFeedbackSensitive |
|
202 * and vibra effect level ETactileFeedbackVibraLevel3. |
|
203 * |
|
204 * Duration is given in milliseconds, and zero value will disable this |
|
205 * logical feedback type. |
|
206 * |
|
207 * Possible values are: |
|
208 * Integer values from zero upwards. |
|
209 * |
|
210 * Default value: 15 |
|
211 **/ |
|
212 const TUint32 KTactileVibraDurationSensitiveLevel3 = 0x0000002b; |
|
213 |
|
214 |
|
215 |
|
216 // ============================================================================= |
|
217 // Configuration options related to audio tone parameters |
|
218 // |
|
219 // These settings are customizable but not changeable by end user |
|
220 // ============================================================================= |
|
221 |
|
222 /** |
|
223 * Audio frequency setting for logical feedback type ETouchFeedbackBasic |
|
224 * and audio effect level ETactileFeedbackAudioLevel1. |
|
225 * |
|
226 * Frequency is given in Hz. |
|
227 * |
|
228 * Possible values are: |
|
229 * Positive integer values. |
|
230 * |
|
231 * Default value: 1100 |
|
232 **/ |
|
233 const TUint32 KTactileAudioToneFreqBasicLevel1 = 0x00000040; |
|
234 |
|
235 /** |
|
236 * Audio frequency setting for logical feedback type ETouchFeedbackBasic |
|
237 * and audio effect level ETactileFeedbackAudioLevel2. |
|
238 * |
|
239 * Frequency is given in Hz. |
|
240 * |
|
241 * Possible values are: |
|
242 * Positive integer values. |
|
243 * |
|
244 * Default value: 1100 |
|
245 **/ |
|
246 const TUint32 KTactileAudioToneFreqBasicLevel2 = 0x00000041; |
|
247 |
|
248 /** |
|
249 * Audio frequency setting for logical feedback type ETouchFeedbackBasic |
|
250 * and audio effect level ETactileFeedbackAudioLevel3. |
|
251 * |
|
252 * Frequency is given in Hz. |
|
253 * |
|
254 * Possible values are: |
|
255 * Positive integer values. |
|
256 * |
|
257 * Default value: 1100 |
|
258 **/ |
|
259 const TUint32 KTactileAudioToneFreqBasicLevel3 = 0x00000042; |
|
260 |
|
261 /** |
|
262 * Audio duration setting for logical feedback type ETouchFeedbackBasic |
|
263 * and audio effect level ETactileFeedbackAudioLevel1. |
|
264 * |
|
265 * Duration is given in milliseconds. |
|
266 * |
|
267 * Possible values are: |
|
268 * Zero (disables this feedback type) or positive integers |
|
269 * |
|
270 * Default value: 10 |
|
271 **/ |
|
272 const TUint32 KTactileAudioToneDurationBasicLevel1 = 0x00000043; |
|
273 |
|
274 /** |
|
275 * Audio duration setting for logical feedback type ETouchFeedbackBasic |
|
276 * and audio effect level ETactileFeedbackAudioLevel2. |
|
277 * |
|
278 * Duration is given in milliseconds. |
|
279 * |
|
280 * Possible values are: |
|
281 * Zero (disables this feedback type) or positive integers |
|
282 * |
|
283 * Default value: 10 |
|
284 **/ |
|
285 const TUint32 KTactileAudioToneDurationBasicLevel2 = 0x00000044; |
|
286 |
|
287 /** |
|
288 * Audio duration setting for logical feedback type ETouchFeedbackBasic |
|
289 * and audio effect level ETactileFeedbackAudioLevel3. |
|
290 * |
|
291 * Duration is given in milliseconds. |
|
292 * |
|
293 * Possible values are: |
|
294 * Zero (disables this feedback type) or positive integers |
|
295 * |
|
296 * Default value: 10 |
|
297 **/ |
|
298 const TUint32 KTactileAudioToneDurationBasicLevel3 = 0x00000045; |
|
299 |
|
300 /** |
|
301 * Audio volume setting for logical feedback type ETouchFeedbackBasic |
|
302 * and audio effect level ETactileFeedbackAudioLevel1. |
|
303 * |
|
304 * Volume level is given in percentages. 100% equals to |
|
305 * CMdaAudioToneUtility::MaxVolume, and 0% will disable this feedback type. |
|
306 * |
|
307 * Possible values are: |
|
308 * 0 - 100 |
|
309 * |
|
310 * Default value: 20 |
|
311 **/ |
|
312 const TUint32 KTactileAudioToneVolumeBasicLevel1 = 0x00000046; |
|
313 |
|
314 /** |
|
315 * Audio volume setting for logical feedback type ETouchFeedbackBasic |
|
316 * and audio effect level ETactileFeedbackAudioLevel2. |
|
317 * |
|
318 * Volume level is given in percentages. 100% equals to |
|
319 * CMdaAudioToneUtility::MaxVolume, and 0% will disable this feedback type. |
|
320 * |
|
321 * Possible values are: |
|
322 * 0 - 100 |
|
323 * |
|
324 * Default value: 40 |
|
325 **/ |
|
326 const TUint32 KTactileAudioToneVolumeBasicLevel2 = 0x00000047; |
|
327 |
|
328 /** |
|
329 * Audio volume setting for logical feedback type ETouchFeedbackBasic |
|
330 * and audio effect level ETactileFeedbackAudioLevel3. |
|
331 * |
|
332 * Volume level is given in percentages. 100% equals to |
|
333 * CMdaAudioToneUtility::MaxVolume, and 0% will disable this feedback type. |
|
334 * |
|
335 * Possible values are: |
|
336 * 0 - 100 |
|
337 * |
|
338 * Default value: 60 |
|
339 **/ |
|
340 const TUint32 KTactileAudioToneVolumeBasicLevel3 = 0x00000048; |
|
341 |
|
342 |
|
343 /** |
|
344 * Audio frequency setting for logical feedback type ETouchFeedbackSensitive |
|
345 * and audio effect level ETactileFeedbackAudioLevel1. |
|
346 * |
|
347 * Frequency is given in Hz. |
|
348 * |
|
349 * Possible values are: |
|
350 * Positive integer values. |
|
351 * |
|
352 * Default value: 1100 |
|
353 **/ |
|
354 const TUint32 KTactileAudioToneFreqSensitiveLevel1 = 0x00000049; |
|
355 |
|
356 /** |
|
357 * Audio frequency setting for logical feedback type ETouchFeedbackSensitive |
|
358 * and audio effect level ETactileFeedbackAudioLevel2. |
|
359 * |
|
360 * Frequency is given in Hz. |
|
361 * |
|
362 * Possible values are: |
|
363 * Positive integer values. |
|
364 * |
|
365 * Default value: 1100 |
|
366 **/ |
|
367 const TUint32 KTactileAudioToneFreqSensitiveLevel2 = 0x0000004a; |
|
368 |
|
369 /** |
|
370 * Audio frequency setting for logical feedback type ETouchFeedbackSensitive |
|
371 * and audio effect level ETactileFeedbackAudioLevel3. |
|
372 * |
|
373 * Frequency is given in Hz. |
|
374 * |
|
375 * Possible values are: |
|
376 * Positive integer values. |
|
377 * |
|
378 * Default value: 1100 |
|
379 **/ |
|
380 const TUint32 KTactileAudioToneFreqSensitiveLevel3 = 0x0000004b; |
|
381 |
|
382 |
|
383 /** |
|
384 * Audio duration setting for logical feedback type ETouchFeedbackSensitive |
|
385 * and audio effect level ETactileFeedbackAudioLevel1. |
|
386 * |
|
387 * Duration is given in milliseconds. |
|
388 * |
|
389 * Possible values are: |
|
390 * Zero (disables this feedback type) or positive integers |
|
391 * |
|
392 * Default value: 10 |
|
393 **/ |
|
394 const TUint32 KTactileAudioToneDurationSensitiveLevel1 = 0x0000004c; |
|
395 |
|
396 /** |
|
397 * Audio duration setting for logical feedback type ETouchFeedbackSensitive |
|
398 * and audio effect level ETactileFeedbackAudioLevel2. |
|
399 * |
|
400 * Duration is given in milliseconds. |
|
401 * |
|
402 * Possible values are: |
|
403 * Zero (disables this feedback type) or positive integers |
|
404 * |
|
405 * Default value: 10 |
|
406 **/ |
|
407 const TUint32 KTactileAudioToneDurationSensitiveLevel2 = 0x0000004d; |
|
408 |
|
409 /** |
|
410 * Audio duration setting for logical feedback type ETouchFeedbackSensitive |
|
411 * and audio effect level ETactileFeedbackAudioLevel3. |
|
412 * |
|
413 * Duration is given in milliseconds. |
|
414 * |
|
415 * Possible values are: |
|
416 * Zero (disables this feedback type) or positive integers |
|
417 * |
|
418 * Default value: 10 |
|
419 **/ |
|
420 const TUint32 KTactileAudioToneDurationSensitiveLevel3 = 0x0000004e; |
|
421 |
|
422 /** |
|
423 * Audio volume setting for logical feedback type ETouchFeedbackSensitive |
|
424 * and audio effect level ETactileFeedbackAudioLevel1. |
|
425 * |
|
426 * Volume level is given in percentages. 100% equals to |
|
427 * CMdaAudioToneUtility::MaxVolume, and 0% will disable this feedback type. |
|
428 * |
|
429 * Possible values are: |
|
430 * 0 - 100 |
|
431 * |
|
432 * Default value: 10 |
|
433 **/ |
|
434 const TUint32 KTactileAudioToneVolumeSensitiveLevel1 = 0x0000004f; |
|
435 |
|
436 /** |
|
437 * Audio volume setting for logical feedback type ETouchFeedbackSensitive |
|
438 * and audio effect level ETactileFeedbackAudioLevel2. |
|
439 * |
|
440 * Volume level is given in percentages. 100% equals to |
|
441 * CMdaAudioToneUtility::MaxVolume, and 0% will disable this feedback type. |
|
442 * |
|
443 * Possible values are: |
|
444 * 0 - 100 |
|
445 * |
|
446 * Default value: 25 |
|
447 **/ |
|
448 const TUint32 KTactileAudioToneVolumeSensitiveLevel2 = 0x00000050; |
|
449 |
|
450 /** |
|
451 * Audio volume setting for logical feedback type ETouchFeedbackSensitive |
|
452 * and audio effect level ETactileFeedbackAudioLevel3. |
|
453 * |
|
454 * Volume level is given in percentages. 100% equals to |
|
455 * CMdaAudioToneUtility::MaxVolume, and 0% will disable this feedback type. |
|
456 * |
|
457 * Possible values are: |
|
458 * 0 - 100 |
|
459 * |
|
460 * Default value: 40 |
|
461 **/ |
|
462 const TUint32 KTactileAudioToneVolumeSensitiveLevel3 = 0x00000051; |
|
463 |
|
464 // ============================================================================= |
|
465 // Configuration options related to audio .wav feedback |
|
466 // |
|
467 // These settings are customizable but not changeable by end user |
|
468 // ============================================================================= |
|
469 |
|
470 /** |
|
471 * Full path of the .wav -file that is going to be used as basic feedback |
|
472 * and audio effect level ETactileFeedbackAudioLevel1. |
|
473 * |
|
474 * Possible values are: |
|
475 * Valid path to .wav -file. If invalid or empty path is given, then |
|
476 * no .wav feedback shall be generated for this logical feedback type. |
|
477 * |
|
478 * Default value: "z:\\System\\Sounds\\Digital\\ui-pen_down04.wav" |
|
479 **/ |
|
480 const TUint32 KTactileAudioWavFileBasicLevel1 = 0x00000080; |
|
481 |
|
482 /** |
|
483 * Full path of the .wav -file that is going to be used as basic feedback |
|
484 * and audio effect level ETactileFeedbackAudioLevel2. |
|
485 * |
|
486 * Possible values are: |
|
487 * Valid path to .wav -file. If invalid or empty path is given, then |
|
488 * no .wav feedback shall be generated for this logical feedback type. |
|
489 * |
|
490 * Default value: "z:\\System\\Sounds\\Digital\\ui-pen_down04.wav" |
|
491 **/ |
|
492 const TUint32 KTactileAudioWavFileBasicLevel2 = 0x00000081; |
|
493 |
|
494 /** |
|
495 * Full path of the .wav -file that is going to be used as basic feedback |
|
496 * and audio effect level ETactileFeedbackAudioLevel3. |
|
497 * |
|
498 * Possible values are: |
|
499 * Valid path to .wav -file. If invalid or empty path is given, then |
|
500 * no .wav feedback shall be generated for this logical feedback type. |
|
501 * |
|
502 * Default value: "z:\\System\\Sounds\\Digital\\ui-pen_down04.wav" |
|
503 **/ |
|
504 const TUint32 KTactileAudioWavFileBasicLevel3 = 0x00000082; |
|
505 |
|
506 /** |
|
507 * Sound volume to be used when playing the basic .wav feedback |
|
508 * and audio effect level ETactileFeedbackAudioLevel1. |
|
509 * |
|
510 * Volume level is given in percentages. 100% equals to |
|
511 * CMdaAudioPlayerUtility::MaxVolume, and 0% will disable this feedback type. |
|
512 * |
|
513 * Possible values are: |
|
514 * 0-100 |
|
515 * |
|
516 * Default value: 10 |
|
517 **/ |
|
518 const TUint32 KTactileAudioWavVolumeBasicLevel1 = 0x00000083; |
|
519 |
|
520 /** |
|
521 * Sound volume to be used when playing the basic .wav feedback |
|
522 * and audio effect level ETactileFeedbackAudioLevel2. |
|
523 * |
|
524 * Volume level is given in percentages. 100% equals to |
|
525 * CMdaAudioPlayerUtility::MaxVolume, and 0% will disable this feedback type. |
|
526 * |
|
527 * Possible values are: |
|
528 * 0-100 |
|
529 * |
|
530 * Default value: 30 |
|
531 **/ |
|
532 const TUint32 KTactileAudioWavVolumeBasicLevel2 = 0x00000084; |
|
533 |
|
534 /** |
|
535 * Sound volume to be used when playing the basic .wav feedback |
|
536 * and audio effect level ETactileFeedbackAudioLevel3. |
|
537 * |
|
538 * Volume level is given in percentages. 100% equals to |
|
539 * CMdaAudioPlayerUtility::MaxVolume, and 0% will disable this feedback type. |
|
540 * |
|
541 * Possible values are: |
|
542 * 0-100 |
|
543 * |
|
544 * Default value: 50 |
|
545 **/ |
|
546 const TUint32 KTactileAudioWavVolumeBasicLevel3 = 0x00000085; |
|
547 |
|
548 /** |
|
549 * Full path of the .wav -file that is going to be used as sensitive feedback |
|
550 * and audio effect level ETactileFeedbackAudioLevel1. |
|
551 * |
|
552 * Possible values are: |
|
553 * Valid path to .wav -file. If invalid or empty path is given, then |
|
554 * no .wav feedback shall be generated for this logical feedback type. |
|
555 * |
|
556 * Default value: "z:\\System\\Sounds\\Digital\\ui-pen_down04.wav" |
|
557 **/ |
|
558 const TUint32 KTactileAudioWavFileSensitiveLevel1 = 0x00000086; |
|
559 |
|
560 /** |
|
561 * Full path of the .wav -file that is going to be used as sensitive feedback |
|
562 * and audio effect level ETactileFeedbackAudioLevel2. |
|
563 * |
|
564 * Possible values are: |
|
565 * Valid path to .wav -file. If invalid or empty path is given, then |
|
566 * no .wav feedback shall be generated for this logical feedback type. |
|
567 * |
|
568 * Default value: "z:\\System\\Sounds\\Digital\\ui-pen_down04.wav" |
|
569 **/ |
|
570 const TUint32 KTactileAudioWavFileSensitiveLevel2 = 0x00000087; |
|
571 |
|
572 /** |
|
573 * Full path of the .wav -file that is going to be used as sensitive feedback |
|
574 * and audio effect level ETactileFeedbackAudioLevel3. |
|
575 * |
|
576 * Possible values are: |
|
577 * Valid path to .wav -file. If invalid or empty path is given, then |
|
578 * no .wav feedback shall be generated for this logical feedback type. |
|
579 * |
|
580 * Default value: "z:\\System\\Sounds\\Digital\\ui-pen_down04.wav" |
|
581 **/ |
|
582 const TUint32 KTactileAudioWavFileSensitiveLevel3 = 0x00000088; |
|
583 |
|
584 /** |
|
585 * Sound volume to be used when playing the sensitive .wav feedback |
|
586 * and audio effect level ETactileFeedbackAudioLevel1. |
|
587 * |
|
588 * Volume level is given in percentages. 100% equals to |
|
589 * CMdaAudioPlayerUtility::MaxVolume, and 0% will disable this feedback type. |
|
590 * |
|
591 * Possible values are: |
|
592 * 0-100 |
|
593 * |
|
594 * Default value: 5 |
|
595 **/ |
|
596 const TUint32 KTactileAudioWavVolumeSensitiveLevel1 = 0x00000089; |
|
597 |
|
598 /** |
|
599 * Sound volume to be used when playing the sensitive .wav feedback |
|
600 * and audio effect level ETactileFeedbackAudioLevel2. |
|
601 * |
|
602 * Volume level is given in percentages. 100% equals to |
|
603 * CMdaAudioPlayerUtility::MaxVolume, and 0% will disable this feedback type. |
|
604 * |
|
605 * Possible values are: |
|
606 * 0-100 |
|
607 * |
|
608 * Default value: 10 |
|
609 **/ |
|
610 const TUint32 KTactileAudioWavVolumeSensitiveLevel2 = 0x0000008a; |
|
611 |
|
612 /** |
|
613 * Sound volume to be used when playing the sensitive .wav feedback |
|
614 * and audio effect level ETactileFeedbackAudioLevel3. |
|
615 * |
|
616 * Volume level is given in percentages. 100% equals to |
|
617 * CMdaAudioPlayerUtility::MaxVolume, and 0% will disable this feedback type. |
|
618 * |
|
619 * Possible values are: |
|
620 * 0-100 |
|
621 * |
|
622 * Default value: 25 |
|
623 **/ |
|
624 const TUint32 KTactileAudioWavVolumeSensitiveLevel3 = 0x0000008b; |
|
625 |
|
626 // ============================================================================= |
|
627 // Configuration options related to Tactile player plugins. |
|
628 // |
|
629 // These settings are customizable but not changeable by end user |
|
630 // ============================================================================= |
|
631 |
|
632 /** |
|
633 * Implementation UID of the plugin, which is used to play haptics feedback. |
|
634 * |
|
635 * Possible values are: |
|
636 * Implementation UID of the plugin. |
|
637 * |
|
638 * Default value: 536988569 (0x2001CB99) |
|
639 **/ |
|
640 const TUint32 KTactileHapticsPlugin = 0x00000090; |
|
641 |
|
642 /** |
|
643 * Implementation UID of the plugin, which is used to play audio feedback. |
|
644 * |
|
645 * Possible values are: |
|
646 * Implementation UID of the plugin. |
|
647 * |
|
648 * Default value: 536988573 (0x2001CB9D) |
|
649 **/ |
|
650 const TUint32 KTactileAudioPlugin = 0x00000091; |
|
651 |
|
652 /** |
|
653 * Stores tactile flags bitmask: |
|
654 * Bit 1: Vibra disabled during call |
|
655 * Bit 2: Audio disabled during call |
|
656 * Bit 3: Vibra played first |
|
657 */ |
|
658 const TUint KTactileInternalSettings = 0x00000092; |
|
659 |
|
660 /** |
|
661 * Defines bit 1 in KTactileInternalSettings. |
|
662 * If this bit is 1, ongoing call will disable vibra feedback. |
|
663 * If this bit is 0, ongoing call doesn't affect vibra feedback. |
|
664 * By default this is 1. |
|
665 */ |
|
666 const TInt KTactileInternalSettingsCallDisableVibra = 0x01; // 2^0 |
|
667 |
|
668 /** |
|
669 * Defines bit 2 in KTactileInternalSettings. |
|
670 * If this bit is 1, ongoing call will disable audio feedback. |
|
671 * If this bit is 0, ongoing call doesn't affect audio feedback. |
|
672 * By default this is 1. |
|
673 */ |
|
674 const TInt KTactileInternalSettingsCallDisableAudio = 0x02; // 2^1 |
|
675 |
|
676 /** |
|
677 * Defines bit 3 in KTactileInternalSettings. |
|
678 * If this bit is 1, vibra feedback is played the first and |
|
679 * audio feedback after that. |
|
680 * If this bit is 0, audio feedback is played the first and |
|
681 * vibra feedback after that. |
|
682 * By default this is 1. |
|
683 */ |
|
684 const TInt KTactileInternalSettingsVibraPlayedFirst = 0x04; // 2^2 |
|
685 |
|
686 |
|
687 /** |
|
688 * Logical actuator type in Tactile Haptics Player. |
|
689 * |
|
690 * Possible values are defined in enumeration THWRMLogicalActuators |
|
691 * in file hwrmlogicalactuators.h. |
|
692 * |
|
693 * Default value: 1 (EHWRMLogicalActuatorAny) |
|
694 */ |
|
695 const TInt KTactileFeedbackHapticsActuator = 0x00000093; |
|
696 |
|
697 #endif // TACTILEFEEDBACKPRIVATECRKEYS_H |
|
698 |
|
699 // End of File |