<div dir="ltr">Thanks Mario!  <span style="font-size:12.8px">GetKeyboardIndices works perfectly.</span></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 March 2016 at 00:20, Mario Kleiner <span dir="ltr"><<a href="mailto:mario.kleiner.de@gmail.com" target="_blank">mario.kleiner.de@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/04/2016 07:36 PM, Yaroslav Halchenko wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Fri, 04 Mar 2016, Neil Dundon wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    Hi Yaroslav,<br>
    Has there been any issues with PsychHID?<br>
    I only have a USB Keyboard and Mouse plugged in, recognised in the<br>
    terminal, but when I call d = PsychHID('devices') the usageName structures<br>
    are all TBD... triedA sudo apt-get install libusb-1.0-0-dev but it's made<br>
    no difference... would you have any advice?<br>
</blockquote>
<br>
Best to ask tireless Mario (CCed)<br>
<br>
</blockquote>
<br></span>
"TBD" = "To Be Done" ~ "Nah, probably never, as it is mostly pointless on this OS". Some of PsychHID's functions are not portable across operating systems as they were designed way too specific to old versions of OSX -- they can't even work as expected on current OSX.<br>
<br>
If you use PsychHID directly you are either doing something special and low-level, or you followed my instructions for debugging something, or you are doing something wrong.<br>
<br>
On Linux some information of PsychHID('Devices') is only available when running as "sudo" root (which is generally not recommended for normal use), or after application of suitable udev rules. This is a security measure of the system -- ditto for MS-Windows.<br>
<br>
GetKeyboardIndices/GetKeypadIndicies/GetMouseIndices are the functions you want to use to select specific mice/keyboards/etc. on all operating systems.<span class="HOEnZb"><font color="#888888"><br>
<br>
-mario</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Neurodebian-users mailing list<br>
<a href="mailto:Neurodebian-users@lists.alioth.debian.org" target="_blank">Neurodebian-users@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/neurodebian-users" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/neurodebian-users</a><br>
</div></div></blockquote></div><br></div>