<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>Unfortunately [hidraw] doesn’t output anything for me at all on two computers (Debian & Windows 10) on either outlet.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>After listing the devices (manually each time!) the only action that I can get from it is crashing Pd.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>I tried both [open $1 ( with the “devicenumber”and [open-vidpid “n” “n”(.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>No output at all – even if I knew the same number was working perfectly with [hid].<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>(I did close the device number before opening a new one each time. It didn’t make a difference closing all devices on hid.)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>On each search that I made with [open $1( my software / computer crashed.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>With [open-vidpid “n” “n”( there were no crashes but also nothing else happened.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>I guess I’ll stick with [hid] that is working and does not crash my Pd or entire operating system.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>The only downside of [hid] is that vid / pid or devife type (like mouse) doesn’t work.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>But it isn’t working on [hidraw] either and the latter doesn’t even exist.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>I’m not sure if it has anything to do with my configuration but from what I see I don’t see any reason for prefering [hidraw] over [hid].<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>So wasting one day is enough for me to see that there is definitely no advantage in my case.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>Maybe having [hid] run at the same time has something to do with it?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>Maybe others will have more luck than I had . . .<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial",sans-serif'>Ingo<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='mso-ligatures:none;mso-fareast-language:DE'>Von:</span></b><span style='mso-ligatures:none;mso-fareast-language:DE'> Lucas Cordiviola <lucarda27@hotmail.com> <br><b>Gesendet:</b> Freitag, 26. Mai 2023 14:48<br><b>An:</b> Ingo <ingo@miamiwave.com>; pd-list@lists.iem.at<br><b>Betreff:</b> Re: AW: [PD] updated hid object?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>@Ingo this simple patch tracks the buttons for my mouse. In my case the buttons are encoded in the first byte.<br><br>see attached.<o:p></o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p><p>--<o:p></o:p></p><pre>Mensaje telepatico asistido por maquinas.<o:p></o:p></pre><div><p class=MsoNormal>On 26/05/2023 08:41, Ingo wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:12.0pt'>Thanks, Lucas!</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>I just downloaded and will test now.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Ingo</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='mso-ligatures:none;mso-fareast-language:DE'>Von:</span></b><span style='mso-ligatures:none;mso-fareast-language:DE'> Pd-list <a href="mailto:pd-list-bounces@lists.iem.at"><pd-list-bounces@lists.iem.at></a> <b>Im Auftrag von </b>Lucas Cordiviola<br><b>Gesendet:</b> Freitag, 26. Mai 2023 04:46<br><b>An:</b> <a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a><br><b>Betreff:</b> Re: [PD] updated hid object?</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p>Hi Ingo,<br><br>You can try <a href="https://deken.puredata.info/library/hidraw">https://deken.puredata.info/library/hidraw</a><br><br>You can open a device via its VID PID. >From the help patch:<o:p></o:p></p><p><br>"open device via VID PID (shown in the console if you did "listdevices"). Note that the VID PID is hard-coded in the device and this can be used (later) without a prior "listdevices" message."<o:p></o:p></p><p><br>The help patch also includes links to the web on how to set HID permissions.<br><br>You can connect<br><br>[hidraw]<br>|<br>[print]<br><br>to see which bytes (in the list) change when you press the mouse buttons.<o:p></o:p></p><p> <o:p></o:p></p><p> <o:p></o:p></p><p> <o:p></o:p></p><p>--<o:p></o:p></p><pre>Mensaje telepatico asistido por maquinas.<o:p></o:p></pre><div><p class=MsoNormal>On 25/05/2023 14:07, Ingo wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>Hi there,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>I’m having trouble with using my mouse with the relatively old [hid] (from 2004) on my Debian with Pd 0.49.0.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>The main problem is that  “open by device type” is not working and I have to search the device number each time.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>I have some automated method for searching but it still takes up too much time when restarting frequently.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>Once I have the device number it works very well well, though!</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>(I need 6-8 different mouse buttons . . . )</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>I remember seeing something a while ago about either a new or updated alternative [hid] object.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>However, I’m not sure what it was and I don’t remember if this was even for Linux at all.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'>Making a quick search didn’t give me any results.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Can anyone enlighten me if there is something working more reliably with finding the  mouse without havin to search manually each time?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Thanks</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Ingo</span><o:p></o:p></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:DE'><br><br><br></span><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre><a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<o:p></o:p></pre><pre>UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a><o:p></o:p></pre></blockquote></blockquote></div></body></html>