1 instantiation of RawKeyboardActions
PresentationCore (1)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
1098
actions = new
RawKeyboardActions
();
46 references to RawKeyboardActions
PresentationCore (46)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (20)
782
if((keyboardInput.Actions &
RawKeyboardActions
.Activate) ==
RawKeyboardActions
.Activate)
812
if((keyboardInput.Actions &
RawKeyboardActions
.KeyDown) ==
RawKeyboardActions
.KeyDown)
814
RawKeyboardActions
actions = GetNonRedundantActions(e);
815
actions |=
RawKeyboardActions
.KeyDown;
829
if((keyboardInput.Actions &
RawKeyboardActions
.KeyUp) ==
RawKeyboardActions
.KeyUp)
831
RawKeyboardActions
actions = GetNonRedundantActions(e);
832
actions |=
RawKeyboardActions
.KeyUp;
1010
RawKeyboardActions
actions = GetNonRedundantActions(e);
1013
if((actions &
RawKeyboardActions
.KeyDown) ==
RawKeyboardActions
.KeyDown)
1032
if((actions &
RawKeyboardActions
.KeyUp) ==
RawKeyboardActions
.KeyUp)
1052
if((keyboardInput.Actions &
RawKeyboardActions
.Deactivate) ==
RawKeyboardActions
.Deactivate)
1085
private
RawKeyboardActions
GetNonRedundantActions(NotifyInputEventArgs e)
1087
RawKeyboardActions
actions;
1094
actions = (
RawKeyboardActions
) o;
Core\CSharp\System\Windows\Input\RawKeyboardInputReport.cs (16)
61
RawKeyboardActions
actions,
69
throw new System.ComponentModel.InvalidEnumArgumentException("actions", (int)actions, typeof(
RawKeyboardActions
));
82
public
RawKeyboardActions
Actions {get {return _actions;}}
121
internal static bool IsValidRawKeyboardActions(
RawKeyboardActions
actions)
123
if (((
RawKeyboardActions
.AttributesChanged |
RawKeyboardActions
.Activate |
RawKeyboardActions
.Deactivate |
124
RawKeyboardActions
.KeyDown |
RawKeyboardActions
.KeyUp) & actions) == actions)
126
if (!((((
RawKeyboardActions
.KeyUp |
RawKeyboardActions
.KeyDown) & actions) == (
RawKeyboardActions
.KeyUp |
RawKeyboardActions
.KeyDown)) ||
127
((
RawKeyboardActions
.Deactivate & actions) == actions &&
RawKeyboardActions
.Deactivate != actions)))
135
private
RawKeyboardActions
_actions;
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (10)
364
RawKeyboardActions
.Activate,
501
RawKeyboardActions
.Activate,
592
RawKeyboardActions
action = GetKeyUpKeyDown((WindowMessage)msg.message);
771
private
RawKeyboardActions
GetKeyUpKeyDown(WindowMessage msg)
774
return
RawKeyboardActions
.KeyDown;
776
return
RawKeyboardActions
.KeyUp;
808
RawKeyboardActions
.Deactivate,
900
RawKeyboardActions
actions,
909
if((actions &
RawKeyboardActions
.Deactivate) == 0)
916
actions |=
RawKeyboardActions
.Activate;