how to remove the key capture programatically ?
capturer.remove_key(keyid);
how to get the keyid ?
waiting for your reply.....
how to remove the key capture programatically ?
capturer.remove_key(keyid);
how to get the keyid ?
waiting for your reply.....
The KeyCapturer class doesn't have a remove_key method. Where did you find that?
Also, please give a little more information about your requirement. Do you want to stop the capturer altogether, or just stop detecting only certain keys?
That's something else. The class in the keycapture module that is used for programming doesn't have that method (apparently it's a method that belongs to an internal, auxiliary class).
Anyway, you can achieve what you want like this:
Code:a = capturer.keys a.remove(EKey5) #For example, you remove the 5 key from the list capturer.keys = a
Check this page to get all key codes.
http://pys60.garage.maemo.org/doc/s60/node25.html
Jajal Mehul
I got the PyS60 Source from https://garage.maemo.org/frs/?group_id=854 ..I am using PyS60 3rd Ed FP2 SDK...I referred the remove_key(keyid) method from keycapture pthon module extension...
whether i am using correct version of PyS60 source code for PyS60 3rd FP2?