[PD] second mouse as HID in pd/linux

Mathieu Bouchard matju at artengine.ca
Sun Feb 12 23:32:35 CET 2012

Le 2012-02-12 à 20:54:00, James Mckernon a écrit :

> However, I am not aware of a way to connect a second mouse without the 
> operating system treating it the same as the first mouse - i.e., having 
> it control the cursor.

I used to know a way to disable the capacitive trackpad of my older 
laptop, but since then, Ubuntu versions changed, Xorg versions changed, 
xorg.conf disappeared, and I don't know whether any of this stuff can 
still be done nor how.

But I bet that you will need the device type as given by the «lsusb» 
command (something like 046d:c51b. If not, then you will need something 
listed in «/var/log/Xorg.0.log».

Note that the «/dev/input/event*» filenames are variable and depend on the 
plugging order or detection order, so you can't use them for telling 
things apart. You need different identifiers. If you have twice the same 
device (e.g. two trackballs), you might also have to use bus number to 
distinguish them.

I don't know how to change those settings, but if you do learn how to do 
it, make sure to post the answer on pd-list !

> P.S. Bonus question: At some point in the future, I'd also like to 
> attempt something similar with a second keyboard. If anyone can answer 
> the question identical to the one above except with the work 'keyboard' 
> substituted in for the word 'mouse', I'd be grateful for that too.

I think that the answer would be similar to the above, which is why I 
mention twice the same device. But if your two keyboards are different 
models, they will be easier to identify in the config.

| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC

More information about the Pd-list mailing list