From: <an...@us...> - 2008-04-04 15:50:01
|
Revision: 1603 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1603&view=rev Author: and-81 Date: 2008-04-04 08:49:58 -0700 (Fri, 04 Apr 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/MediaPortalCommands.csproj trunk/plugins/IR Server Suite/Common/ShellLink/ShellLink.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Imon Receiver/Imon Receiver.cs Modified: trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/MediaPortalCommands.csproj =================================================================== --- trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/MediaPortalCommands.csproj 2008-04-04 12:43:01 UTC (rev 1602) +++ trunk/plugins/IR Server Suite/Commands/MediaPortalCommands/MediaPortalCommands.csproj 2008-04-04 15:49:58 UTC (rev 1603) @@ -10,7 +10,7 @@ <RootNamespace>Commands.MediaPortal</RootNamespace> <AssemblyName>MediaPortalCommands</AssemblyName> <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent> - <SignAssembly>true</SignAssembly> + <SignAssembly>false</SignAssembly> <AssemblyOriginatorKeyFile>..\..\IR Server Suite.snk</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> Modified: trunk/plugins/IR Server Suite/Common/ShellLink/ShellLink.csproj =================================================================== --- trunk/plugins/IR Server Suite/Common/ShellLink/ShellLink.csproj 2008-04-04 12:43:01 UTC (rev 1602) +++ trunk/plugins/IR Server Suite/Common/ShellLink/ShellLink.csproj 2008-04-04 15:49:58 UTC (rev 1603) @@ -66,7 +66,7 @@ <Optimize>true</Optimize> <RegisterForComInterop>false</RegisterForComInterop> <RemoveIntegerChecks>false</RemoveIntegerChecks> - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <TreatWarningsAsErrors>false</TreatWarningsAsErrors> <WarningLevel>4</WarningLevel> <DebugType>none</DebugType> <ErrorReport>prompt</ErrorReport> Modified: trunk/plugins/IR Server Suite/IR Server Plugins/Imon Receiver/Imon Receiver.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/Imon Receiver/Imon Receiver.cs 2008-04-04 12:43:01 UTC (rev 1602) +++ trunk/plugins/IR Server Suite/IR Server Plugins/Imon Receiver/Imon Receiver.cs 2008-04-04 15:49:58 UTC (rev 1603) @@ -623,7 +623,29 @@ break; case 0xCE: // MCE Keyboard mouse report - //MouseEvent(0, 0, false, false); + int x = 0; + int y = 0; + bool right = false; + bool left = false; + /* + if (dataBytes[2] & 0x20 != 0) x |= 1 << 7; // sign bit + if (dataBytes[2] & 0x80 != 0) x |= 1 << 4; + if (dataBytes[2] & 0x40 != 0) x |= 1 << 3; + if (dataBytes[3] & 0x08 != 0) x |= 1 << 2; + if (dataBytes[3] & 0x04 != 0) x |= 1 << 1; + if (dataBytes[3] & 0x02 != 0) x |= 1; + + if (dataBytes[1] & 0x10 != 0) y |= 1 << 7; // sign bit + if (dataBytes[1] & 0x20 != 0) y |= 1 << 4; + if (dataBytes[2] & 0x08 != 0) y |= 1 << 3; + if (dataBytes[2] & 0x04 != 0) y |= 1 << 2; + if (dataBytes[2] & 0x02 != 0) y |= 1 << 1; + if (dataBytes[2] & 0x01 != 0) y |= 1; + */ + //if (dataBytes[1] & 0x80 != 0) right = true; + //if (dataBytes[1] & 0x40 != 0) left = true; + + MouseEvent(x, y, right, left); break; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |