And perhaps we need one to send ACPI key events like brightness up/down
maybe and other special ones?
Den mån 28 mars 2022 kl 12:08 skrev Enrique Medina Gremaldos <
quiqueiii@xxxxxxxxx>:
A new handler is useful if you want to send the events to a different
place. Currently we have 3:
- Joystick: sending data to /dev/joysticks for the game kit BJoystick
- Mouse and keyboard: sending data to /dev/input/ for the input_server
We can introduce a 4th one. Where would its data go? To me it makes
sense that it would still go
to input_server anyway.
We have 4, in fact:
- Joystick
- Mouse sending mouse_movement structures (keyboard_mouse_driver.h)
- Keyboard sending raw_key_info and led_info structures
- Tablet sending tablet_movement structures. This handles drawing
digitizers but also touch screens.
And perhaps we need one to send ACPI key events like brightness up/down
maybe and other special ones?
I was planning to experiment with sending messages from the kernel, but no
idea if that is a good idea or not.
/Fredrik Holmqvist, TQH