home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
MP1-4585 Generic HID input device support for MCE buttons
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1116906" data-attributes="member: 82144"><p>I don't know. As far as I can see, the answer is no... but there are hacks and extensions like this:</p><p><a href="https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328" target="_blank">https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328</a></p><p></p><p></p><p>If you want to change the style then start a thread and lets talk about it. In the meantime, the most important thing is to be consistent with existing code. Code which has different styles used all over the place has very poor readability.</p><p></p><p>On that note, I'm sorry to say that your settings are still not correct. For example (RawInput.cs):</p><p>[code]var deviceName = Marshal.AllocHGlobal((int) deviceNameSize*2); // size is the character count not byte count[/code]</p><p></p><p>This should be:</p><p>[code]var deviceName = Marshal.AllocHGlobal((int)deviceNameSize * 2); // size is the character count not byte count[/code]</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1116906, member: 82144"] I don't know. As far as I can see, the answer is no... but there are hacks and extensions like this: [url]https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328[/url] If you want to change the style then start a thread and lets talk about it. In the meantime, the most important thing is to be consistent with existing code. Code which has different styles used all over the place has very poor readability. On that note, I'm sorry to say that your settings are still not correct. For example (RawInput.cs): [code]var deviceName = Marshal.AllocHGlobal((int) deviceNameSize*2); // size is the character count not byte count[/code] This should be: [code]var deviceName = Marshal.AllocHGlobal((int)deviceNameSize * 2); // size is the character count not byte count[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
MP1-4585 Generic HID input device support for MCE buttons
Contact us
RSS
Top
Bottom