tactilefeedback/tactilefeedbackresolver/plugins/tactilevibraplugin/src/tactilevibraplayer.cpp
changeset 15 8c57b70b4bf3
parent 0 d54f32e146dd
child 22 4838b44af342
equal deleted inserted replaced
14:603911b3f166 15:8c57b70b4bf3
    18 
    18 
    19 #include <e32debug.h>
    19 #include <e32debug.h>
    20 #include <hwrmvibra.h>
    20 #include <hwrmvibra.h>
    21 #include <centralrepository.h>
    21 #include <centralrepository.h>
    22 #include <ecom/implementationproxy.h>
    22 #include <ecom/implementationproxy.h>
    23 #include <profileinternal.hrh>
    23 #include <ProfileInternal.hrh>
    24 
    24 
    25 #include "tactilefeedbackprivatecrkeys.h"
    25 #include "tactilefeedbackprivatecrkeys.h"
    26 #include "tactilefeedbacktrace.h"
    26 #include "tactilefeedbacktrace.h"
    27 
    27 
    28 #include "tactilevibraplayer.h"
    28 #include "tactilevibraplayer.h"
   112         
   112         
   113         switch ( aFeedback )
   113         switch ( aFeedback )
   114             {
   114             {
   115             case ETouchFeedbackBasic:               // flow through
   115             case ETouchFeedbackBasic:               // flow through
   116             case ETouchFeedbackBasicButton:         // flow through
   116             case ETouchFeedbackBasicButton:         // flow through
   117             case ETouchFeedbackList:                // flow through
   117             case ETouchFeedbackBasicItem:           // flow through
   118             case ETouchFeedbackBoundaryList:        // flow through
   118             case ETouchFeedbackBounceEffect:        // flow through
   119             case ETouchFeedbackSlider:              // flow through
   119             case ETouchFeedbackBasicSlider:         // flow through
   120             case ETouchFeedbackEdit:                // flow through
   120             case ETouchFeedbackEditor:              // flow through
   121             case ETouchFeedbackSensitiveInput:
   121             case ETouchFeedbackSensitiveKeypad:
   122             case ETouchFeedbackLineSelection:       // flow through
   122             case ETouchFeedbackLineSelection:       // flow through
   123             case ETouchFeedbackBlankSelection:      // flow through
   123             case ETouchFeedbackBlankSelection:      // flow through
   124             case ETouchFeedbackTextSelection:       // flow through
   124             case ETouchFeedbackTextSelection:       // flow through
   125             case ETouchFeedbackEmptyLineSelection:  // flow through
   125             case ETouchFeedbackEmptyLineSelection:  // flow through
   126             case ETouchFeedbackTab:                 // flow through
       
   127             case ETouchFeedbackPopUp:               // flow through
   126             case ETouchFeedbackPopUp:               // flow through
   128             case ETouchFeedbackIncreasingPopUp:     // flow through
   127             case ETouchFeedbackPopupOpen:           // flow through
   129             case ETouchFeedbackDecreasingPopUp:     // flow through
   128             case ETouchFeedbackPopupClose:          // flow through
   130             case ETouchFeedbackFlick:               // flow through
   129             case ETouchFeedbackItemScroll:          // flow through
   131             case ETouchFeedbackCheckbox:            // flow through
   130             case ETouchFeedbackCheckbox:            // flow through
   132             case ETouchFeedbackCharacterInputButton:
   131             case ETouchFeedbackMultitouchActivate:
   133             case ETouchFeedbackMultiTouchRecognized:
       
   134                 effectIndex = 0;
   132                 effectIndex = 0;
   135                 break;
   133                 break;
   136             case ETouchFeedbackSensitive:           // flow through
   134             case ETouchFeedbackSensitive:           // flow through
   137             case ETouchFeedbackSensitiveButton:     // flow through
   135             case ETouchFeedbackSensitiveButton:     // flow through
   138             case ETouchFeedbackSensitiveList:      
   136             case ETouchFeedbackSensitiveItem:      
   139                 effectIndex = 1;                    
   137                 effectIndex = 1;                    
   140                 break;                              
   138                 break;                              
   141             default:                                
   139             default:                                
   142                 effectIndex = 0;                    
   140                 effectIndex = 0;                    
   143                 break;                              
   141                 break;