Re: mouse commands
On Thu, Nov 18, 2010 at 8:05 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: It seems to me like this: 1. Send E , 5 , E then 5 consecutively and what does that E5 do? -- http://vger.kernel.org/vger-lists.html -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
mouse commands
Hi,as mentioned on this link http://books.google.co.in/books?id=Boo57V0IOq0Cpg=PA140lpg=PA140dq=xc/programs/Xserver/hw/xfree86/os-support/shared/posix_tty.csource=blots=pwIuaVO7T5sig=qcB-fhT4qb0M36BYvf2CM3uNYFohl=enei=be3kTKS6D47fcZKxoeUKsa=Xoi=book_resultct=resultresnum=3ved=0CCUQ6AEwAg#v=onepageq=xc%2Fprograms%2FXserver%2Fhw%2Fxfree86%2Fos-support%2Fshared%2Fposix_tty.cf=false the author mentions a code snippet what are the commands passed to mouse to which he is trying to explain poll ,select system calls. -- http://vger.kernel.org/vger-lists.html -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
Re: mouse commands
On Thu, Nov 18, 2010 at 16:13, Bond jamesbond.2...@gmail.com wrote: Hi,as mentioned on this link It's unreadable, at least in my side. I think the best way here is to just paste the code here or somewhere like pastebin.com -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
Re: mouse commands
On Thu, Nov 18, 2010 at 20:24, Bond jamesbond.2...@gmail.com wrote: and the portion I asked http://pastebin.com/j0tK0jGW It seems to me like this: 1. Send E , 5 , E then 5 consecutively 2. Write it serially as mouse is categorized as char device. 3. Wait for inputquite likely it's using poll() underneath.. 4. If there's indeed input (in buffer) read it...I think it just read 1 byte. If there no input, break the loop altogether. 5. Back to (1). -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ