Re: mouse commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 18, 2010 at 20:24, Bond <jamesbond.2k.g@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux