equal
deleted
inserted
replaced
1866 return; |
1866 return; |
1867 } |
1867 } |
1868 |
1868 |
1869 // This method call practically adds a shift modifier to hash key + joystick events. |
1869 // This method call practically adds a shift modifier to hash key + joystick events. |
1870 // This is because of marking in lists and editors when edit there is no edit key in device. |
1870 // This is because of marking in lists and editors when edit there is no edit key in device. |
1871 if (SimulateHashKeyMarkingEvent(aEvent)) |
1871 if (SimulateHashKeyMarkingEventL(aEvent)) |
1872 { |
1872 { |
1873 return; |
1873 return; |
1874 } |
1874 } |
1875 |
1875 |
1876 // ---- To turn on key code conversion by default ----- |
1876 // ---- To turn on key code conversion by default ----- |
2097 |
2097 |
2098 // This method watches for hash key presses, and adds a shift modifier to all arrow key |
2098 // This method watches for hash key presses, and adds a shift modifier to all arrow key |
2099 // and ok key events, if hash key is simultaneously down. This is done because of making the |
2099 // and ok key events, if hash key is simultaneously down. This is done because of making the |
2100 // edit key optional in the device. Therefore, hash key with joystick (or single hash press, |
2100 // edit key optional in the device. Therefore, hash key with joystick (or single hash press, |
2101 // see eiklbx.cpp) can be used for marking in lists and editors. |
2101 // see eiklbx.cpp) can be used for marking in lists and editors. |
2102 TBool CAknAppUi::SimulateHashKeyMarkingEvent(const TWsEvent& aEvent) |
2102 TBool CAknAppUi::SimulateHashKeyMarkingEventL(const TWsEvent& aEvent) |
2103 { |
2103 { |
2104 TInt eventType = aEvent.Type(); |
2104 TInt eventType = aEvent.Type(); |
2105 |
2105 |
2106 if (iExtension && |
2106 if (iExtension && |
2107 iExtension->iFlags[CAknAppUiExtension::EHashKeyMarking] && |
2107 iExtension->iFlags[CAknAppUiExtension::EHashKeyMarking] && |