[xmonad] Extra keyboard

Brandon Allbery allbery.b at gmail.com
Wed May 6 13:27:02 UTC 2015


On Wed, May 6, 2015 at 1:46 AM, Jean-Baptiste Mestelan <mestelan at gmail.com>
wrote:

> I have a USB numeric keypad lying about, and would like to use its
> keys as special shortcuts (like, its Num-6 could simulate
> XF86AudioNext...).
> How do I tell its key strokes apart from those of the main keyboard?
> Is this done at X level?
> Would the helpful people on this list provide some pointers, or set me
> started?
>

You'll need to use the XInput extension (x11-xinput package), as X11 core
only understands a single keyboard so by default all system keyboards are
treated identically and their events mixed into a single event stream.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150506/38a460a5/attachment.html>


More information about the xmonad mailing list