mungewell
November 7th, 2008, 09:10 PM
Hi,
Spent way too long on this last night, but without a result.
I would like to be able to selectively prevent Xorg from using a particular mouse on a system, whilst still receiving input from multiple others. At present Xorg automatically picks up any event sources (ie. /dev/input/event2).
I can force X to use a particular one in the xorg.conf file, but then I would be limited to only one pointer source and I don't believe this can be changed without restarting X. I can prevent a mouse registering with a 'ignore' udev rule, but then it is not available at all on the system. Ideally I would like commands to run from within X like 'event_source_drop /dev/input/event9' and 'event_source_use /dev/input/event9'.
The reason for doing/wanting to do this is so that a specific application can get soul use of a mouse. This may get a whole lot easier with MPX, but that's not here yet.
Any suggestions?
Mungewell.
Spent way too long on this last night, but without a result.
I would like to be able to selectively prevent Xorg from using a particular mouse on a system, whilst still receiving input from multiple others. At present Xorg automatically picks up any event sources (ie. /dev/input/event2).
I can force X to use a particular one in the xorg.conf file, but then I would be limited to only one pointer source and I don't believe this can be changed without restarting X. I can prevent a mouse registering with a 'ignore' udev rule, but then it is not available at all on the system. Ideally I would like commands to run from within X like 'event_source_drop /dev/input/event9' and 'event_source_use /dev/input/event9'.
The reason for doing/wanting to do this is so that a specific application can get soul use of a mouse. This may get a whole lot easier with MPX, but that's not here yet.
Any suggestions?
Mungewell.