|
From: <an...@us...> - 2007-03-23 04:43:35
|
Revision: 211
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=211&view=rev
Author: and-81
Date: 2007-03-22 21:43:28 -0700 (Thu, 22 Mar 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/plugins/MCEReplacement/Forms/MacroEditor.cs
trunk/plugins/MCEReplacement/MCEReplacement.cs
Modified: trunk/plugins/MCEReplacement/Forms/MacroEditor.cs
===================================================================
--- trunk/plugins/MCEReplacement/Forms/MacroEditor.cs 2007-03-22 17:21:30 UTC (rev 210)
+++ trunk/plugins/MCEReplacement/Forms/MacroEditor.cs 2007-03-23 04:43:28 UTC (rev 211)
@@ -377,7 +377,7 @@
//if (selectBlasterSpeed.ShowDialog(this) == DialogResult.Cancel)
//return;
- listBoxMacro.Items.Add(MCEReplacement.SetMapCommandPrefix + "");
+ listBoxMacro.Items.Add(MCEReplacement.SetMapCommandPrefix + "TOGGLE");
}
else if (selected == SetMouseModeText)
{
Modified: trunk/plugins/MCEReplacement/MCEReplacement.cs
===================================================================
--- trunk/plugins/MCEReplacement/MCEReplacement.cs 2007-03-22 17:21:30 UTC (rev 210)
+++ trunk/plugins/MCEReplacement/MCEReplacement.cs 2007-03-23 04:43:28 UTC (rev 211)
@@ -391,13 +391,13 @@
#region ISetupForm methods
- public bool CanEnable() { return true; }
- public bool HasSetup() { return true; }
- public string PluginName() { return "MCE Replacement"; }
- public bool DefaultEnabled() { return true; }
- public int GetWindowId() { return 0; }
- public string Author() { return "and-81"; }
- public string Description() { return "Replaces MediaPortal's native MCE remote control support"; }
+ public bool CanEnable() { return true; }
+ public bool HasSetup() { return true; }
+ public string PluginName() { return "MCE Replacement"; }
+ public bool DefaultEnabled() { return true; }
+ public int GetWindowId() { return 0; }
+ public string Author() { return "and-81"; }
+ public string Description() { return "Replaces MediaPortal's native MCE remote control support"; }
public void ShowPlugin()
{
@@ -649,8 +649,6 @@
}
else if (MouseModeActive)
{
- //int x = Cursor.Position.X;
- //int y = Cursor.Position.Y;
int distance = MouseModeStep;
if (MouseModeAcceleration)
@@ -659,22 +657,18 @@
switch ((RemoteButton)button)
{
case RemoteButton.Up:
- //Cursor.Position = new Point(x, y - distance);
Mouse.Move(0, -distance, false);
return true;
case RemoteButton.Down:
- //Cursor.Position = new Point(x, y + distance);
Mouse.Move(0, distance, false);
return true;
case RemoteButton.Left:
- //Cursor.Position = new Point(x - distance, y);
Mouse.Move(-distance, 0, false);
return true;
case RemoteButton.Right:
- //Cursor.Position = new Point(x + distance, y);
Mouse.Move(distance, 0, false);
return true;
@@ -895,7 +889,6 @@
return;
}
}
-
}
static void ShowNotifyDialog(string heading, string text, int timeout)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|