Subversion Repositories group.electronics

Rev

Rev 176 | Rev 178 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 176 Rev 177
Line 29... Line 29...
29
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad01), 7));
29
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad01), 7));
30
 
30
 
31
            Dictionary<uint, Command> pad02 = new Dictionary<uint, Command>();
31
            Dictionary<uint, Command> pad02 = new Dictionary<uint, Command>();
32
            pad02.Add(0, new CommandDCS("UFC_2"));
32
            pad02.Add(0, new CommandDCS("UFC_2"));
33
            pad02.Add(1, new CommandVKey(OSInput.VirtualKeyCodes.VK_F2));
33
            pad02.Add(1, new CommandVKey(OSInput.VirtualKeyCodes.VK_F2));
34
            pad02.Add(2, new CommandTrackIRKey(OSInput.VirtualKeyCodes.VK_F7));
34
            pad02.Add(2, new CommandTrackIRKey(VirtualKeyCode.F7));
35
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad02), 6));
35
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad02), 6));
36
 
36
 
37
            Dictionary<uint, Command> pad03 = new Dictionary<uint, Command>();
37
            Dictionary<uint, Command> pad03 = new Dictionary<uint, Command>();
38
            pad03.Add(0, new CommandDCS("UFC_3"));
38
            pad03.Add(0, new CommandDCS("UFC_3"));
39
            pad03.Add(1, new CommandVKey(OSInput.VirtualKeyCodes.VK_F3));
39
            pad03.Add(1, new CommandVKey(OSInput.VirtualKeyCodes.VK_F3));
40
            pad03.Add(2, new CommandTrackIRKey(OSInput.VirtualKeyCodes.VK_F11));
40
            pad03.Add(2, new CommandTrackIRKey(VirtualKeyCode.F11));
41
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad03), 5));
41
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad03), 5));
42
 
42
 
43
            Dictionary<uint, Command> pad04 = new Dictionary<uint,Command>();
43
            Dictionary<uint, Command> pad04 = new Dictionary<uint,Command>();
44
            pad04.Add(0, new CommandDCS("UFC_ENT"));
44
            pad04.Add(0, new CommandDCS("UFC_ENT"));
45
            pad04.Add(1, new CommandVKey(OSInput.VirtualKeyCodes.VK_F4));
45
            pad04.Add(1, new CommandVKey(OSInput.VirtualKeyCodes.VK_F4));
46
            pad04.Add(2, new CommandTrackIRKey(OSInput.VirtualKeyCodes.VK_F9));
46
            pad04.Add(2, new CommandTrackIRKey(VirtualKeyCode.F9));
47
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad04), 4));
47
            this.addControl(new Switch2Pos(new CommandIf(selSwitch, pad04), 4));
48
 
48
 
49
            // Row 2
49
            // Row 2
50
            Dictionary<uint, Command> pad05 = new Dictionary<uint, Command>();
50
            Dictionary<uint, Command> pad05 = new Dictionary<uint, Command>();
51
            pad05.Add(0, new CommandDCS("UFC_4"));
51
            pad05.Add(0, new CommandDCS("UFC_4"));