Ejemplo n.º 1
0
 public static IKeyAxisInput CreateKeyAxisInput(this IKeyboardContainer container,
                                                Keys?positionXKey = null,
                                                Keys?positionYKey = null,
                                                Keys?positionZKey = null,
                                                Keys?negativeXKey = null,
                                                Keys?negativeYKey = null,
                                                Keys?negativeZKey = null,
                                                bool isOctagon    = false)
 {
     return(new KeyAxisInput(container)
     {
         PositiveXKey = positionXKey,
         PositiveYKey = positionYKey,
         PositiveZKey = positionZKey,
         NegativeXKey = negativeXKey,
         NegativeYKey = negativeYKey,
         NegativeZKey = negativeZKey,
         IsOctagon = isOctagon
     });
 }
Ejemplo n.º 2
0
 public KeyAxisInput(IKeyboardContainer keyboardContainer)
 {
     _keyboardContainer = keyboardContainer;
 }