Mercurial > MadButterfly
diff nodejs/testcase.js @ 681:b601a4d6f7d1
Change kbevent to kbevents and hide X_MB_kbevents()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 06 Aug 2010 23:04:55 +0800 |
parents | a588eefd3f04 |
children | 86c6ebf1de25 |
line wrap: on
line diff
--- a/nodejs/testcase.js Fri Aug 06 22:56:58 2010 +0800 +++ b/nodejs/testcase.js Fri Aug 06 23:04:55 2010 +0800 @@ -61,7 +61,7 @@ var kbobserver; /* Keyboard event */ -kbobserver = mb_rt.kbevent.add_event_observer(6, function(evt) { +kbobserver = mb_rt.kbevents.add_event_observer(6, function(evt) { sys.puts("keycode = " + evt.keycode); sys.puts("sym = " + evt.sym); });