]> oss.titaniummirror.com Git - oss-web.git/commitdiff
xkbmap: wildcard MatchUSBID
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 17 Sep 2015 13:34:07 +0000 (07:34 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 17 Sep 2015 13:34:07 +0000 (07:34 -0600)
in/blog/keyboard-specific-mappings.md

index 0145f785bd3fcd30d02fcc650056a56901990758..b835424f2509b566702806bb48e5d465f7f5f6cd 100644 (file)
@@ -148,6 +148,14 @@ But the Xorg log file has the information
     $ grep "CM Storm.*Vendor" /var/log/Xorg.0.log.old | tail -1
     [100514.151] (--) evdev: CM Storm Side print: Vendor 0x2516 Product 0x17
 
+_Update 2015-09-17:_  I purchased _another_ one of these keyboards for a second
+location.  I couldn't find a Stealth model with Cherry MX Brown key switches, so
+purchased instead the Rapid model.  The only difference is the latter has the
+keycaps printed on the top face, as do most keyboards.  It's USB VID:PID is also
+different: `2516:0004`.  So I've changed the `MatchUSBID` value in
+`/usr/share/X11/xord.conf.d/90-evdev-CM-Storm.conf` to use a wildcard entry to
+capture both keyboards: `2516:*`.
+
 ## Step 4 -- Log out and back in
 
 X only reads the configurations in /usr/share/X11/xorg.conf.d on startup, so the