WingMan – Diff between revs 10 and 14
?pathlinks?
Rev 10 | Rev 14 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | using System.Collections.Generic; |
1 | using System.Collections.Generic; |
|
2 | using System.Windows.Forms; |
- | ||
Line 3... | Line 2... | |||
3 | |
2 | |
|
4 | namespace WingMan |
3 | namespace WingMan.Utilities |
|
5 | { |
4 | { |
|
6 | public static class KeyConversion |
5 | public static class KeyConversion |
|
7 | { |
- | ||
8 | public static readonly Dictionary<MouseButtons, string> MouseButtonsToString = |
- | ||
9 | new Dictionary<MouseButtons, string> |
- | ||
10 | { |
- | ||
11 | {MouseButtons.Left, "Left Mouse Button"}, |
- | ||
12 | {MouseButtons.Middle, "Middle Mouse Button"}, |
- | ||
13 | {MouseButtons.Right, "Right Mouse Button"} |
- | ||
14 | }; |
- | ||
15 | |
- | ||
16 | public static readonly Dictionary<string, MouseButtons> StringToMouseButtons = |
- | ||
17 | new Dictionary<string, MouseButtons> |
- | ||
18 | { |
- | ||
19 | {"Left Mouse Button", MouseButtons.Left}, |
- | ||
20 | {"Middle Mouse Button", MouseButtons.Middle}, |
- | ||
21 | {"Right Mouse Button", MouseButtons.Right} |
- | ||
22 | }; |
- | ||
23 | |
6 | { |
|
24 | public static readonly Dictionary<string, byte> StringToKeys = new Dictionary<string, byte> |
7 | public static readonly Dictionary<string, byte> StringToKeys = new Dictionary<string, byte> |
|
25 | { |
8 | { |
|
26 | {"None", 0}, |
9 | {"None", 0}, |
|
27 | {"LButton", 1}, |
10 | {"LButton", 1}, |