epoc32/include/hwrmlogicalactuators.h
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/hwrmlogicalactuators.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,79 @@
     1.4 +/*
     1.5 +* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:  Enumerations of logical actuators and actuator events.
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +#ifndef T_HWRMLOGICALACTUATORS_H
    1.23 +#define T_HWRMLOGICALACTUATORS_H
    1.24 +
    1.25 +#include <e32std.h>
    1.26 +
    1.27 + /**
    1.28 + * @enum THWRMLogicalActuators
    1.29 + * 
    1.30 + * Logical actuators types, that can be used for Haptics client objects.
    1.31 + * Logical actuator is mapped to physical actuator according to
    1.32 + * system configuration.
    1.33 + */
    1.34 +enum THWRMLogicalActuators
    1.35 +    {
    1.36 +    /**    
    1.37 +    * Client wants any kind of haptic feedback.
    1.38 +    */    
    1.39 +    EHWRMLogicalActuatorAny = 1, 
    1.40 +    
    1.41 +    /**
    1.42 +    * Client wants strong haptic feedback, which shakes the whole device.
    1.43 +    */ 
    1.44 +    EHWRMLogicalActuatorDevice = 2, 
    1.45 +    
    1.46 +    /**
    1.47 +    * Clients wants haptic feedback to primary display.
    1.48 +    */
    1.49 +    EHWRMLogicalActuatorPrimaryDisplay = 4, 
    1.50 +    
    1.51 +    /**
    1.52 +    * Clients wants haptic feedback to secondary display.
    1.53 +    */
    1.54 +    EHWRMLogicalActuatorSecondaryDisplay = 8, 
    1.55 +    
    1.56 +    /**
    1.57 +    * Clients wants haptic feedback for gaming.
    1.58 +    */
    1.59 +    EHWRMLogicalActuatorGame = 16, 
    1.60 +    
    1.61 +    /**
    1.62 +    * Clients wants haptic feedback for gaming on the left side of device.
    1.63 +    */
    1.64 +    EHWRMLogicalActuatorGameLeft = 32, 
    1.65 +    
    1.66 +    /**
    1.67 +    * Clients wants haptic feedback for gaming on the right side of device.
    1.68 +    */
    1.69 +    EHWRMLogicalActuatorGameRight = 64, 
    1.70 +    
    1.71 +    /** 
    1.72 +    * Clients wants haptic feedback for external actuator, e.g. USB actuator.
    1.73 +    */
    1.74 +    EHWRMLogicalActuatorExternalVibra = 128,  
    1.75 +    
    1.76 +    /** 
    1.77 +    * For sanity checks only e.g. when enumerating logical actuators.
    1.78 +    */
    1.79 +    EHWRMLogicalActuatorLast = 256
    1.80 +    };
    1.81 +
    1.82 +#endif // T_HWRMLOGICALACTUATORS_H