On Tue, 25 Oct 2011 10:36:54 +1000 Peter Hutterer <[email protected]> wrote:
> right, looking at this configuration I've got a few comments, but the main > one is that at least for your config negations aren't really necessary.> > > > Section "InputClass" > > Identifier "evdev pointer catchall" > > MatchIsPointer "on" > > MatchDevicePath "/dev/input/event*" > > MatchLayout "!regex:/^Seat[0-9]+$/" > > this one isn't really necessary. you can just skip this statement since > it'll get overwritten by the next one anyway. You are right, now I have it done without negations, but by playing with "Ignore" "on" / "off", because I need to disable devices with already assigned drivers. > So yeah, I can somewhat see the need for regex but all the more complicated > seem over the top. OK, I understand Your decision. What about a minimalist version I just sent to the list? Only regexes, but with char** changed to list of patterns, which allows to keep matching mode together with pattern strings. It seems to be in line with the latest changes in InputClass.c (nt_list_*...). No visible changes for users in the first patch at all. Best regards, Oleh Nykyforchyn <[email protected]> _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
