<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Is there something like dmesg where you
can see key events, and map them into a config file manually? Or
an application where you can see them?<br>
<br>
I'm guessing a usb HID device needs to send standard-ish usb
commands....<br>
<br>
HTH<br>
<br>
Garry<br>
<br>
On 25/07/13 15:41, Onno Benschop wrote:<br>
</div>
<blockquote
cite="mid:CACybYRU3kyDa3JXevph-i622GKXrFgEr5C6V6tNEE7dDsYh+rg@mail.gmail.com"
type="cite">
<div dir="ltr">I've been pulling out my hair for the past six
hours and figured that it was time to see if anyone might be
able to help. The situation isn't helped by the Ubuntu forum
having been hacked, since much of the searching ends up there.
<div>
<br>
</div>
<div>I want to achieve the following:</div>
<div>
<div><br>
</div>
<div>Use the individual keys of an external USB Numeric 18 key
keypad to play an mp3 file for use in a radio broadcast
situation - think Jingle Machine with 17 Jingles. (the 18th
key needs to kill all audio).</div>
<div><br>
</div>
<div><br>
</div>
<div style="">The OS is Ubuntu 12.04 on an R52 Thinkpad</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">Things I've tried:</div>
<div style="">
<div>
<ul style="">
<li style="">Use the Keyboard shortcuts - doesn't work,
since you cannot reprogram each key without holding
down a modifier, like shift or control.</li>
<li style="">Use KeyTouch, doesn't work, the software is
not available for 12.04, only the KeyTouch-editor.</li>
<li style="">I then figured I could remap a key to a
multi-media key and have Keyboard shortcuts see those
instead. I tried to use setxkbmap. I can use a command
line like "setxkbmap -device 9 -option KP_0:KP_6"
which shows that the 0 key is mapped to the 6, for my
USB keypad, but no change observed on the command line
when pressing the 0, nor in Keyboard shortcuts. (I
also tried it with mapping the KP_0 to a symbol
like: XF86Start.)</li>
</ul>
<div style=""><br>
</div>
<div style="">I've learnt that there is much voodoo in
this, lots of contradictory information and a basic
assumption that you'd just want to use some or other
layout.</div>
</div>
<div style="">
<br>
</div>
<div style="">I've been unable to locate any information on
how to create a layout that actually generates a range of
bogus keys from pressing a key on the keypad.</div>
<div style=""><br>
</div>
<div style="">Note that the keypad works as expected. It's a
Targus $34 keypad from Officeworks, 18 keys, nothing
special.</div>
<div style=""><br>
</div>
<div style="">I need to make the interface for this tactile,
rather than touch screen, since it's going to be used
during a live broadcast, so the operator will be reading a
script into a microphone and wanting to hit a jingle key
afterwards, without needing to actually look at the
keypad.</div>
<div style=""><br>
</div>
<div style="">I'm hoping someone has seen this, done this,
wrote the book or knows where I can find the manual to
read it myself.</div>
</div>
<div><br>
</div>
<div style="">Anyone?</div>
-- <br>
Onno Benschop<br>
<br>
()/)/)() ..ASCII for Onno..<br>
|>>? ..EBCDIC for Onno..<br>
--- -. -. --- ..Morse for Onno..<br>
<br>
ITmaze - ABN: 56 178 057 063 - ph: 04 1219 8888 - <a
moz-do-not-send="true" href="mailto:onno@itmaze.com.au"
target="_blank">onno@itmaze.com.au</a>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PLUG discussion list: <a class="moz-txt-link-abbreviated" href="mailto:plug@plug.org.au">plug@plug.org.au</a>
<a class="moz-txt-link-freetext" href="http://lists.plug.org.au/mailman/listinfo/plug">http://lists.plug.org.au/mailman/listinfo/plug</a>
Committee e-mail: <a class="moz-txt-link-abbreviated" href="mailto:committee@plug.org.au">committee@plug.org.au</a>
PLUG Membership: <a class="moz-txt-link-freetext" href="http://www.plug.org.au/membership">http://www.plug.org.au/membership</a></pre>
</blockquote>
<br>
</body>
</html>