Fix middle and right click being treated as left click.

This commit is contained in:
Pieter-Jan Briers
2019-03-12 10:00:44 +01:00
parent b2bb711dbb
commit db45961936

View File

@@ -64,8 +64,8 @@ namespace SS14.Client.Input
private static readonly Dictionary<Button, Keyboard.Key> _mouseKeyMap = new Dictionary<Button, Keyboard.Key>
{
{Button.Left, Keyboard.Key.MouseLeft},
{Button.Middle, Keyboard.Key.MouseLeft},
{Button.Right, Keyboard.Key.MouseLeft},
{Button.Middle, Keyboard.Key.MouseMiddle},
{Button.Right, Keyboard.Key.MouseRight},
{Button.Button4, Keyboard.Key.MouseButton4},
{Button.Button5, Keyboard.Key.MouseButton5},
{Button.Button6, Keyboard.Key.MouseButton6},