<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[hid output?]]></title><description><![CDATA[<p>i'm currently using the <code>[hidraw]</code> external on macOS to read inputs from a PS5 dualsense controller.</p>
<p>it's a wonderful external and works great for this - but it doesn't allow to output hid data to the controller (to control force feedback etc.). any ideas if there is a solution for this that i might be missing (on macOS)?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14806/hid-output</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 22:53:00 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14806.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jul 2024 07:23:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to hid output? on Tue, 23 Jul 2024 07:23:16 GMT]]></title><description><![CDATA[<p>i'm currently using the <code>[hidraw]</code> external on macOS to read inputs from a PS5 dualsense controller.</p>
<p>it's a wonderful external and works great for this - but it doesn't allow to output hid data to the controller (to control force feedback etc.). any ideas if there is a solution for this that i might be missing (on macOS)?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14806/hid-output</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14806/hid-output</guid><dc:creator><![CDATA[ben.wes]]></dc:creator><pubDate>Tue, 23 Jul 2024 07:23:16 GMT</pubDate></item><item><title><![CDATA[Reply to hid output? on Tue, 23 Jul 2024 08:18:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ben-wes">@ben.wes</a> Does OSX have /proc/ or something like it where devices can be written too? Would mean you can just use [command] to write to the appropriate file. Or perhaps OSX has a command for this which you can run from [command]? Have not used OSX to any real extent since 10.2 so no idea how far it has strayed from its BSD roots.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14806/hid-output/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14806/hid-output/2</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Tue, 23 Jul 2024 08:18:49 GMT</pubDate></item><item><title><![CDATA[Reply to hid output? on Tue, 23 Jul 2024 09:53:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/oid">@oid</a> thanks for pointing me to the option of using [command]! /proc/ is not available on macOS afaict - but in the [command] context, i might use a little tool i found here: <a href="https://github.com/todbot/hidapitester" rel="nofollow">https://github.com/todbot/hidapitester</a></p>
<p>... i admit that i'm a bit scared of destroying things with these low level hid commands. will try to understand of bit more before actually writing data!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14806/hid-output/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14806/hid-output/3</guid><dc:creator><![CDATA[ben.wes]]></dc:creator><pubDate>Tue, 23 Jul 2024 09:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to hid output? on Tue, 23 Jul 2024 12:50:06 GMT]]></title><description><![CDATA[<p>following up here if anyone else is curious about this:</p>
<p>while searching for more information on the hid &quot;output report&quot; structure of the dualsense controller, i stumbled upon a python library that implements all of this here: <a href="https://github.com/flok/pydualsense/blob/master/pydualsense/pydualsense.py#L445" rel="nofollow">https://github.com/flok/pydualsense/blob/master/pydualsense/pydualsense.py#L445</a></p>
<p>based on that, i finally felt confident enough to give it a try with a short report that should only change the bytes for the big motors:</p>
<pre><code>hidapitester --vidpid 054C:0CE6 -l 5 --open --send-output 2,255,87,80,160
</code></pre>
<p>... the last 2 bytes being the motor levels. aaaand ... it works! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>turning them off again via:</p>
<pre><code>hidapitester --vidpid 054C:0CE6 -l 5 --open --send-output 2,255,87,0,0
</code></pre>
]]></description><link>http://forum.pdpatchrepo.info/topic/14806/hid-output/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14806/hid-output/4</guid><dc:creator><![CDATA[ben.wes]]></dc:creator><pubDate>Tue, 23 Jul 2024 12:50:06 GMT</pubDate></item></channel></rss>