Source

wd_pys60 / wd_key.py

Full commit

import keycapture,e32,appuifw
def call(key):
  if key==63586:
    appuifw.note(u'this is key','info',1)
press=keycapture.KeyCapturer(call)
press.keys=(63586,)
press.start()
e32.ao_sleep(10)
press.stop()