Markus Armbruster <arm...@redhat.com> wrote: > Juan Quintela <quint...@redhat.com> writes: >> I still think that adding an "id" property as in markus proposal would >> be neat. Otherwise I don't know how you are going to distinguish >> between two keyboards with the same name. > > If I understand the patch correctly (only time for a quick skim today), > the keyboard receives a numeric ID when it is created, and keyboard_set > identifies it by that ID. Yes, a user-defined ID would be nicer, and > consistent with how similar things work. But the numeric ID isn't > *wrong*, as far as I can see.
my problem is that if you add two keyboards of the same type, they will receive random index (different ones), now you do info keyboard, and you see two keyboard with the same names and different numbers, how do you know which of the two given you want to choose? And no, I don't have magic bullet to make multimonitor/keyboard/mouse behave as expected out of given them right id's. Later, Juan.