1.1 --- a/epoc32/include/mw/touchlogicalfeedback.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/touchlogicalfeedback.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,74 @@
1.4 -touchlogicalfeedback.h
1.5 +/*
1.6 +* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Logical feedback type enumeration.
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +#ifndef T_TOUCHLOGICALFEEDBACK_H
1.24 +#define T_TOUCHLOGICALFEEDBACK_H
1.25 +
1.26 +
1.27 +
1.28 +#include <e32std.h>
1.29 +
1.30 +
1.31 +/**
1.32 + * Pointer event types, that can be used when registering
1.33 + * areas to registry. Currently only stylus down event
1.34 + * is supported (this means that there will be feedback
1.35 + * whenever stylus down event is received on registered
1.36 + * area, no matter what happens _after_ stylus down event).
1.37 + */
1.38 +enum TTouchEventType
1.39 + {
1.40 + ETouchEventStylusDown
1.41 + };
1.42 +
1.43 +
1.44 +/**
1.45 + * Logical feedback types, that can be used when producing direct
1.46 + * feedback, or when registering areas to area registry.
1.47 + *
1.48 + * Notice, that client application cannot decide the actual physical
1.49 + * feedback that shall be generated. It depends on device configuration,
1.50 + * and current settings. In current devices the user changeable settings
1.51 + * includes vibra and sound feedbacks.
1.52 + *
1.53 + * Instructions for using these feedback types:
1.54 + *
1.55 + * ETouchFeedbackNone - Use for disabling feedback for some areas of
1.56 + * window when using area registry.
1.57 + *
1.58 + * ETouchFeedbackBasic - Use as default feedback for pen down events.
1.59 + * For example, pressing a button or tab.
1.60 + *
1.61 + * ETouchFeedbackSensitive - Sensitive feedback for those situations,
1.62 + * where the triggering action is not very
1.63 + * important (e.g. change focus in list), or when
1.64 + * there can be a large amount of feedbacks in
1.65 + * a short time (e.g. text selection which gives
1.66 + * feedback on every new selected character).
1.67 + * Also used for scrolling and dragging.
1.68 + *
1.69 + */
1.70 +enum TTouchLogicalFeedback
1.71 + {
1.72 + ETouchFeedbackNone,
1.73 + ETouchFeedbackBasic,
1.74 + ETouchFeedbackSensitive
1.75 + };
1.76 +
1.77 +
1.78 +#endif // T_TOUCHLOGICALFEEDBACK_H