From: Charles D. <cd...@mv...> - 2001-06-20 22:42:12
|
On Wed, Jun 20, 2001 at 01:08:54PM +0100, Justin Cormack wrote: > Maybe a device that just gives attach, detach events would be enough? I > am yet another person who has needed some facility like this in userspace. > But If you just mix events, you lose the names and capabilities of the > devices and stuff, which I need. Not necessarily. There are two means of keeping the names and capabilities still available which are immediately obvious to me: - Include the number of the real event device in the mixer's information, so that the application can open and query the appropriate /dev/input/eventXX device - Include with each event an event number generated internally to the mixer (necessary if it isn't integrated into the event interface) and extend the ioctls to apply on a per-device basis. |