In PyS60 I can use the green (EKeyYes) key but I can't use the red/disconnect (EKeyNo) without quitting python. Equally, I can't seem to customise anything using either the left or right soft keys.
Has anyone found a way to enable the underlying OS to allow PyS60 to use these keys? It would be really useful for my work, in which I'm using the phone to test some reaction times. It seems a bit stupid not to be able to use the red and green keys for yes / no answers - instead I have to train participants to use arbitrary keys (eg 1 or 3) which don't have any intuitive yes/no value.
Thanks a lot.
Code:def handle_event(event): ev = event['keycode'] #if event['type'] == appuifw.EEventKeyDown: #img.clear(BLUE) if ev == key_codes.EKeyYes: advanceword() if ev == key_codes.EKeyLeftSoftkey: advanceword() if ev == key_codes.EKey9: logerror() if ev == key_codes.EKeyEdit: delete_errors() handle_redraw(None)