equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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: Hid remconbearer scan codes |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HIDREMCONBEARERBEARERSCANCODES_H |
|
20 #define HIDREMCONBEARERBEARERSCANCODES_H |
|
21 |
|
22 /** |
|
23 * Side volume Key Codes |
|
24 */ |
|
25 const TInt KPSVolumeDownReleased = -3; |
|
26 const TInt KPSVolumeDownPressed = -2; |
|
27 const TInt KPSVolumeDownClicked = -1; |
|
28 const TInt KPSVolumeNoKey = 0; |
|
29 const TInt KPSVolumeUpClicked = 1; |
|
30 const TInt KPSVolumeUpPressed = 2; |
|
31 const TInt KPSVolumeUpReleased = 3; |
|
32 const TInt KPSMuteClicked = 4; |
|
33 const TInt KPSMutePressed = 5; |
|
34 const TInt KPSMuteReleased = 6; |
|
35 // Hook keys keys |
|
36 const TInt KPSAnsweClicked = 1; |
|
37 const TInt KPSHangUpClicked = 2; |
|
38 const TInt KPSRedial = 3; |
|
39 const TInt KPSVoiceDial = 4; |
|
40 |
|
41 /** |
|
42 * Media Key codes |
|
43 */ |
|
44 enum TMediaKeyValues |
|
45 { |
|
46 EPlayReleased = 0, |
|
47 EPlayPressed, |
|
48 EPlayClicked, |
|
49 EStopReleased, |
|
50 EStopPressed, |
|
51 EStopClicked, |
|
52 EForwardReleased, |
|
53 EForwardPressed, |
|
54 EForwardClicked, |
|
55 ERewindReleased, |
|
56 ERewindPressed, |
|
57 ERewindClicked, |
|
58 EFastForwardReleased, |
|
59 EFastForwardPressed, |
|
60 EFastForwardClicked, |
|
61 EBackwardReleased, |
|
62 EBackwardPressed, |
|
63 EBackwardClicked, |
|
64 EMuteReleased, |
|
65 EMutePressed, |
|
66 EMuteClicked |
|
67 }; |
|
68 |
|
69 #endif // HIDREMCONBEARERBEARERSCANCODE_H |
|
70 //End of File |