Dear Mr. Torokhov and Linux-Input Community,
Greetings of the day !! :)
I have not seen some good use of write function in input subsystem.
I am trying find the good uses of write function in Input subsystem,
but could not find the solution over internet.
Can you please help in answering my query below:
As you know, in evdev.c file, fops is defined as below
struct file_operations evdev_fops = {
.read = evdev_read,
.write = evdev_write,
...
}
So in what cases, evdev_write function is used ?
One case I can think of is that, it can be used in input device simulator
to write the recorded data back into buffer.
Thanks and Regards,
Aniroop Mathur