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 input....quite 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

Reply via email to