How to disable Center Key (CK) and let only Left Soft Key (LSK) be used in j2me
- by awaghad-ashish
Hello everyone,
I created a custom item in which I need to use the Center Key for the purpose of selecting and I am successfully able to use it with the keyPressed event using the keyCode as -5. The problem is, as soon as I press the CK, it also clicks on the command above the LSK and that causes the menu to pop up. Is there any way that I can disable the CK for a particular command or something like that (because I dont need CK, since I can click on the command through LSK as well, I want to use the CK specifically for the custom item)?
Any kind of help will be appreciated,
Thanks and regards,
Ashish.