Justin, gentlemen, thanks for the help. It's much appreciated.<br>I have much to work with now, and a renewed optimism.<br><br>Alex.<br><br><div class="gmail_quote">On Sat, Nov 15, 2008 at 2:46 PM, Justin Smith <span dir="ltr"><<a href="mailto:noisesmith@gmail.com">noisesmith@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Tue, Nov 11, 2008 at 4:40 AM, Raine M. Ekman <<a href="mailto:raine@iki.fi">raine@iki.fi</a>> wrote:<br>
> On Tue, 11 Nov 2008, alex stone wrote:<br>
>> Arnold, that's what i figured.<br>
>><br>
>> If I can 'fool' X config into thinking the second qwerty is some sort of<br>
>> midi, or 'non-default qwerty' controller, then i'm wondering if it's<br>
>> possible to use it in a wider sense for script starts,etc..<br>
>> I will admit i know next to nothing about this, hence the question.<br>
><br>
> The easiest solution might be using a PS/2 keyboard for typing and having<br>
> a USB one for other purposes, through the event interface, as explained in<br>
> step 3 in the procedure here:<br>
> <a href="http://www.linuxplanet.com/linuxplanet/tutorials/3100/1/" target="_blank">http://www.linuxplanet.com/linuxplanet/tutorials/3100/1/</a><br>
><br>
> I don't know how well that connects to PD, but I'd be surprised to hear<br>
> that it can't be done.. and a universal script-invocation thingie<br>
> shouldn't be too hard either, it probably already exists somewhere.<br>
><br>
><br>
> (As this is my delurking on this list, I'd like to thank everybody for the<br>
> often valuable, sometimes entertaining and very rarely annoying mailings<br>
> :)<br>
><br>
><br>
> --<br>
> Raine M. Ekman tel: 0400 838 395<br>
> <a href="mailto:raine@iki.fi">raine@iki.fi</a> www: <a href="http://www.iki.fi/%7Eraine/" target="_blank">http://www.iki.fi/%7Eraine/</a><br>
><br>
><br>
> _______________________________________________<br>
> Linux-audio-user mailing list<br>
> <a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
> <a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
><br>
<br>
</div></div>AFAIK here is no need to fool X, or modify your kernel. Tell X<br>
precisely which device to use for keyboard input (the devices are in<br>
the /dev/input/ directory, I recommend using the symlinks in<br>
/dev/input/by-id/), and it will happily ignore all other keyboards.<br>
After that, you just need to read the hid device created by the kernel<br>
for that keyboard - if PD already has this coded, all the easier, but<br>
the interface is very easy to use (I did something very similar, with<br>
8 mice connected to the computer, all but 1 ignored by X11 -- it was a<br>
weekend hack, more or less, to make it work).<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
</div></div></blockquote></div><br>