<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[James's Programming Page — WinHidDevice OutputReportByteLength is wrongly read]]></title>
	<link rel="self" href="https://swforum.seekye.com/feed/atom/topic/10152/" />
	<updated>2022-10-13T17:04:05Z</updated>
	<generator>PunBB</generator>
	<id>https://swforum.seekye.com/topic/10152/</id>
		<entry>
			<title type="html"><![CDATA[Re: WinHidDevice OutputReportByteLength is wrongly read]]></title>
			<link rel="alternate" href="https://swforum.seekye.com/post/13140/#p13140" />
			<content type="html"><![CDATA[<p>Do you mean GetMaxOutputReportLength()? HIDSharp gets its value from Windows&#039;s OutputReportByteLength. It does try to reconstruct the descriptor (Windows doesn&#039;t give access to it, unlike Linux and Mac), but the lengths themselves come directly from Windows.</p><p>What&#039;s your report descriptor look like? I&#039;ll bet there&#039;s something Windows handles differently or incorrectly.</p>]]></content>
			<author>
				<name><![CDATA[Zer]]></name>
				<uri>https://swforum.seekye.com/user/2/</uri>
			</author>
			<updated>2022-10-13T17:04:05Z</updated>
			<id>https://swforum.seekye.com/post/13140/#p13140</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[WinHidDevice OutputReportByteLength is wrongly read]]></title>
			<link rel="alternate" href="https://swforum.seekye.com/post/13138/#p13138" />
			<content type="html"><![CDATA[<p>Hi,</p><p>We have a custom HID device that has OutputReportByteLength set to 4 bytes in firmware, but when we open it in Windows, the value is equal to the InputReportByteLength, i.e. 31.</p><p>Is it Windows error ? <br />Linux reports correct value - HidSharp was not used there to test.</p>]]></content>
			<author>
				<name><![CDATA[szamil]]></name>
				<uri>https://swforum.seekye.com/user/14464/</uri>
			</author>
			<updated>2022-05-31T08:45:44Z</updated>
			<id>https://swforum.seekye.com/post/13138/#p13138</id>
		</entry>
</feed>
