5 namespace SiliconStudio.
Paradox.Input
36 return Key == other.Key && Type == other.Type;
40 public override bool Equals(
object obj)
42 if (ReferenceEquals(null, obj))
return false;
51 return ((
int)Key * 397) ^ (int)Type;
63 return left.Equals(right);
74 return !left.Equals(right);
79 return string.Format(
"{0} ({1})", Key, Type == KeyEventType.Pressed ?
"Pressed" :
"Release");