bluetoothengine/bthid/keyboard/src/keyboard.cpp
branchRCL_3
changeset 20 eede1356aa52
parent 18 5a89845f78e2
child 21 0ba996a9b75d
--- a/bluetoothengine/bthid/keyboard/src/keyboard.cpp	Mon Jun 21 15:51:46 2010 +0300
+++ b/bluetoothengine/bthid/keyboard/src/keyboard.cpp	Thu Jul 15 18:50:18 2010 +0300
@@ -136,9 +136,9 @@
     iSettings = CBtHidSettings::NewL();
     
     // create a keylock session
-/*    TInt err = iKeyLock.Connect();
+    TInt err = iKeyLock.Connect();
     TRACE_INFO( (_L("[HID]\tCHidKeyboardDriver::ConstructL: key lock err = %d"), err));
-    User::LeaveIfError(err);    */
+    User::LeaveIfError(err);    
     }
 
 //----------------------------------------------------------------------------
@@ -163,7 +163,7 @@
     if (iSettings)
         delete iSettings;
 
-//    iKeyLock.Close();
+    iKeyLock.Close();
     }
 
 //----------------------------------------------------------------------------
@@ -1913,7 +1913,7 @@
                 }
             
             // ESC when keylock enabled >>> Disabled key lock
-/*            else if (aIsKeyDown &&
+            else if (aIsKeyDown &&
                 iKeyLock.IsKeyLockEnabled())
                 {
                 TRACE_INFO((_L("[HID]\tESC >>> DISBALE KEY LOCK DOWN")));
@@ -1923,7 +1923,7 @@
                 ret = ETrue;
                 iNavKeyDown = (iNavKeyDown | EEsc);
                 }
-*/
+
             break;
             }
         case EStdKeyF8: