Exemple #1
0
 public AxisHistory(KeyStroke keyStroke, float offsetTime, float newAxisThresholdMin, float newAxisThresholdMax) : base(keyStroke, offsetTime)
 {
     axisThresholdMin = newAxisThresholdMin;
     axisThresholdMax = newAxisThresholdMax;
 }
Exemple #2
0
 public ButtonHistory(ButtonEventType newButtonEventType, KeyStroke newKeyStroke, float newOffsetTime) : base(newKeyStroke, newOffsetTime)
 {
     buttonEventType = newButtonEventType;
 }
Exemple #3
0
 public KeyHistory(KeyStroke newKeyStroke, float newOffsetTime)
 {
     keyStroke          = newKeyStroke;
     offsetTime         = newOffsetTime;
     nextPressThreshold = Time.time - 1;
 }