You'll have to detect the event client side using jQuery (or some Javascript), and then use jQuery ajax to send the data back to web2py. Depending on the data and the desired result, you might be able to use the web2py ajax() function, but more likely will need to use the jQuery .ajax (or related) method. See http://web2py.com/book/default/chapter/10#The-ajax-Function.
Anthony On Wednesday, September 28, 2011 4:38:52 AM UTC-4, yogesh wrote: > > I want to know how web2py provides the functionality for the > following : > I am developing an application in which I have a defined area in > the browser say : 100px x 100px . I want that any mouse clicks and > keyboard inputs be conveyed to web2py and then to the corresponding > code in python for processing . > > regards.. > yogesh dwivedi

