<div dir="ltr">Just in case the question was more specific than it needed to be, it's possible the numeric keypad reports different keys than the "number keys" at the top of your normal keyboard anyway. X distinguishes between xK_6 and xK_KP_6. So if you don't normally use the keypad on your main keyboard, this can be an option.<div><br></div><div>~d</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 10:46 PM, 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">Hello,<br>
<br>
<br>
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>
<br>
Thanks for attention.<br>
<br>
* FWIW, here is dmesg:<br>
[81553.409035] input: USB KB USB KB as<br>
/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.4/3-3.4:1.0/0003:1241:1503.0006/input/input31<br>
[81553.409193] hid-generic 0003:1241:1503.0006: input,hidraw2: USB HID<br>
v1.10 Keyboard [USB KB USB KB] on usb-0000:00:14.0-3.4/input0<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br></div>