Example #1
0
        public OscButtonCommandMap(OscButtonType type, string address, int?id)
        {
            switch (type)
            {
            case OscButtonType.FireOnly:
                Type    = OscButtonType.FireOnly;
                Address = address;
                break;

            case OscButtonType.SendData:
                Type    = OscButtonType.SendData;
                Address = address;
                Id      = id;
                break;
            }
        }
Example #2
0
 public OscButtonCommandMap(string address, int id)
 {
     Type    = OscButtonType.SendData;
     Address = address;
     Id      = id;
 }
Example #3
0
 public OscButtonCommandMap(string address)
 {
     Type    = OscButtonType.FireOnly;
     Address = address;
 }