Subversion Repositories group.electronics

Rev

Rev 177 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 177 Rev 187
Line 24... Line 24...
24
            this.addControl(new Switch2Pos(new CommandVKey(OSInput.VirtualKeyCodes.VK_ENTER), 14));
24
            this.addControl(new Switch2Pos(new CommandVKey(OSInput.VirtualKeyCodes.VK_ENTER), 14));
25
            //this.addControl(new Switch2Pos(new CommandVKey(VirtualKeyCodes.VOLUME_MUTE), 15));
25
            //this.addControl(new Switch2Pos(new CommandVKey(VirtualKeyCodes.VOLUME_MUTE), 15));
26
            this.addControl(new Switch2Pos(new CommandDCS("AAP_CDUPWR"), 11));
26
            this.addControl(new Switch2Pos(new CommandDCS("AAP_CDUPWR"), 11));
27
            this.addControl(new Switch2Pos(new CommandDCS("AAP_EGIPWR"), 10));
27
            this.addControl(new Switch2Pos(new CommandDCS("AAP_EGIPWR"), 10));
28
            this.addControl(new Switch3Pos(new CommandDCS("AAP_STEER"), 9, 8));
28
            this.addControl(new Switch3Pos(new CommandDCS("AAP_STEER"), 9, 8));
29
            this.addControl(new Selector(new CommandDCS("AAP_STEERPT"), new int[] { 4, 5, 6 }));
29
            this.addControl(new Selector(new CommandDCS("AAP_STEERPT"), new int[] {6, 5, 4 }));
30
            this.addControl(new Selector(new CommandDCS("AAP_PAGE"), new int[] { 0, 1, 2, 3 }));
30
            this.addControl(new Selector(new CommandDCS("AAP_PAGE"), new int[] { 0, 1, 2, 3 }));
31
 
31
 
32
            // Enable the mcp23017
32
            // Enable the mcp23017
33
            mcp.WriteGpio(3, 0);
33
            mcp.WriteGpio(3, 0);
34
            Utils.delayms(10);
34
            Utils.delayms(10);