[PD] updated hid object?

Ingo ingo at miamiwave.com
Fri May 26 13:41:42 CEST 2023


Thanks, Lucas!

 

I just downloaded and will test now.

 

Ingo

 

Von: Pd-list <pd-list-bounces at lists.iem.at> Im Auftrag von Lucas Cordiviola
Gesendet: Freitag, 26. Mai 2023 04:46
An: pd-list at lists.iem.at
Betreff: Re: [PD] updated hid object?

 

Hi Ingo,

You can try https://deken.puredata.info/library/hidraw

You can open a device via its VID PID. From the help patch:


"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."


The help patch also includes links to the web on how to set HID permissions.

You can connect

[hidraw]
|
[print]

to see which bytes (in the list) change when you press the mouse buttons.

 

 

 

--

Mensaje telepatico asistido por maquinas.

On 25/05/2023 14:07, Ingo wrote:

Hi there,

 

I’m having trouble with using my mouse with the relatively old [hid] (from 2004) on my Debian with Pd 0.49.0.

 

The main problem is that  “open by device type” is not working and I have to search the device number each time.

I have some automated method for searching but it still takes up too much time when restarting frequently.

Once I have the device number it works very well well, though!

(I need 6-8 different mouse buttons . . . )

 

I remember seeing something a while ago about either a new or updated alternative [hid] object.

However, I’m not sure what it was and I don’t remember if this was even for Linux at all.

 

Making a quick search didn’t give me any results.

 

Can anyone enlighten me if there is something working more reliably with finding the  mouse without havin to search manually each time?

 

Thanks

Ingo





_______________________________________________
Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at>  mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20230526/3cba775c/attachment.htm>


More information about the Pd-list mailing list