<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 6, 2015 at 1:46 AM, Jean-Baptiste Mestelan <span dir="ltr"><<a href="mailto:mestelan@gmail.com" target="_blank">mestelan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a USB numeric keypad lying about, and would like to use its<br>
keys as special shortcuts (like, its Num-6 could simulate<br>
XF86AudioNext...).<br>
How do I tell its key strokes apart from those of the main keyboard?<br>
Is this done at X level?<br>
Would the helpful people on this list provide some pointers, or set me started?<br></blockquote><div><br></div><div>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.</div><div><br></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>