private void CreateButton(ref VirtualButton vb, VirtualKeyboardButton vkb) { AllButtons.Add(vkb); vb = vkb; }
public VirtualKeyboardAxis(string name, Keys?pos, Keys?neg) : base(name) { Pos = new VirtualKeyboardButton(NamePos, pos); Neg = new VirtualKeyboardButton(NameNeg, neg); }