GetKeyBinding() 공개 메소드

Gets the key binding for a key.
/// Thrown if is greater than . ///
public GetKeyBinding ( byte keyId ) : KeyBinding
keyId byte The key to query the key binding of.
리턴 KeyBinding
예제 #1
0
        public void SetKeyBinding_Should_Set_Correct_Binding()
        {
            var layout = new KeyLayout(DummyBindingList.ToArray());

            layout.SetKeyBinding(0, 1, 10);

            VerifyKeyBinding(layout.GetKeyBinding(0), layout.Bindings[0]);
        }
예제 #2
0
        public void GetKeyBinding_Should_Return_Correct_Binding()
        {
            var layout = new KeyLayout(DummyBindingList);

            VerifyKeyBinding(layout.GetKeyBinding(0), layout.Bindings[0]);
        }
예제 #3
0
 public void GetKeyBinding_Should_Return_Correct_Binding()
 {
     var layout = new KeyLayout(DummyBindingList);
     VerifyKeyBinding(layout.GetKeyBinding(0), layout.Bindings[0]);
 }
예제 #4
0
        public void SetKeyBinding_Should_Set_Correct_Binding()
        {
            var layout = new KeyLayout(DummyBindingList.ToArray());
            layout.SetKeyBinding(0, 1, 10);

            VerifyKeyBinding(layout.GetKeyBinding(0), layout.Bindings[0]);
        }