<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>
      <blockquote type="cite">Maybe having [hid] run at the same time
        has something to do with it?</blockquote>
      <br>
      I can confirm that I can not use [hid] and [hidraw]. Pd just crash
      on Debian11.<br>
      <br>
      You should start a fresh Pd (sudo pd) and only open
      "hidraw-help.pd"</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p>--<br>
    </p>
    <pre class="moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
    <div class="moz-cite-prefix">On 27/05/2023 05:19, Lucas Cordiviola
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:IA1PR19MB7663936C07CE6460DBC06AE2A6449@IA1PR19MB7663.namprd19.prod.outlook.com">
      
      <p>Note that [hidraw] from deken needs Debian Buster or higher.
        Also note that you need permissions to access hids. You can
        start Pd with superpowers to access HIDs (sudo pd). Also note
        that on Windows you can not access "mouses" or "keyboards" (OS
        restrictions).<br>
        <br>
        > Maybe having [hid] run at the same time has something to do
        with it?<br>
        <br>
        could be. No idea about the crashes. It works ok for me on
        Debian11 and Win11(here testing with a gamepad)</p>
      <p><br>
      </p>
      <p><br>
      </p>
      <p>--<br>
      </p>
      <pre class="moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
      <div class="moz-cite-prefix">On 27/05/2023 04:30, Ingo wrote:<br>
      </div>
      <blockquote type="cite" cite="mid:000001d9906d$1992b3e0$4cb81ba0$@miamiwave.com">
        <meta name="Generator" content="Microsoft Word 15 (filtered
          medium)">
        <style>@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;}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;}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]-->
        <div class="WordSection1">
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">I tried both [open $1 ( with the
              “devicenumber”and [open-vidpid “n” “n”(.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">(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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">On each search that I made with [open $1( my
              software / computer crashed.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">With [open-vidpid “n” “n”( there were no
              crashes but also nothing else happened.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">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 style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">Maybe having [hid] run at the same time has
              something to do with it?<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">Maybe others will have more luck than I had .
              . .<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif" lang="EN-US">Ingo<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"><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 <a class="moz-txt-link-rfc2396E" href="mailto:lucarda27@hotmail.com" moz-do-not-send="true"><lucarda27@hotmail.com></a>
                  <br>
                  <b>Gesendet:</b> Freitag, 26. Mai 2023 14:48<br>
                  <b>An:</b> Ingo <a class="moz-txt-link-rfc2396E" href="mailto:ingo@miamiwave.com" moz-do-not-send="true"><ingo@miamiwave.com></a>;
                  <a class="moz-txt-link-abbreviated
                    moz-txt-link-freetext" href="mailto:pd-list@lists.iem.at" moz-do-not-send="true">pd-list@lists.iem.at</a><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 style="font-size:12.0pt" lang="EN-US">I just downloaded and will test now.</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">Ingo</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> </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" moz-do-not-send="true"><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" moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true" class="moz-txt-link-freetext">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 style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">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 style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">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 style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">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 style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">Once I have the
                  device number it works very well well, though!</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">(I need 6-8
                  different mouse buttons . . . )</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">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 style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">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 style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US">Making a quick
                  search didn’t give me any results.</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri
                  Light",sans-serif" lang="EN-US"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-family:"Calibri
                  Light",sans-serif" lang="EN-US">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 style="font-family:"Calibri
                  Light",sans-serif" lang="EN-US"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-family:"Calibri
                  Light",sans-serif" lang="EN-US">Thanks</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-family:"Calibri
                  Light",sans-serif" lang="EN-US">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" moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.puredata.info/listinfo/pd-list</a><o:p></o:p></pre>
            </blockquote>
          </blockquote>
        </div>
      </blockquote>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </body>
</html>