<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<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.</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 26/05/2023 08:41, Ingo wrote:<br>
</div>
<blockquote type="cite" cite="mid:000001d98fc7$0afae920$20f0bb60$@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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}@font-face
{font-family:"Calibri Light \,sans-serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}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";
mso-ligatures:none;
mso-fareast-language:DE;}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:12.0pt">Thanks,
Lucas!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">I
just downloaded and will test now.<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">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>
<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 class="moz-txt-link-rfc2396E" 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 class="moz-txt-link-abbreviated" href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a><br>
<b>Betreff:</b> Re: [PD] updated hid object?<o:p></o:p></span></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:<span style="mso-ligatures:none;mso-fareast-language:DE"><o:p></o:p></span></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",serif">Hi there,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light
,sans-serif",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Calibri Light
,sans-serif",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",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",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",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",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",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",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",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",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",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",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",serif" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri
Light ,sans-serif",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",serif" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri
Light ,sans-serif",serif" lang="EN-US">Thanks</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri
Light ,sans-serif",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>
<o:p></o:p></span></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>
</div>
</blockquote>
</body>
</html>