Ejemplo n.º 1
0
 private void OnReceiveRawInput(RawInputEventData data)
 {
     if (RawInputData.FromHandle(data.LParam) is RawInputMouseData mouseData)
     {
         ReceiveRawInputMouseData?.Invoke(mouseData);
     }
 }
 private void OnReceiveRawInput(RawInputEventData data)
 {
     if (RawInputData.FromHandle(data.LParam) is RawInputKeyboardData keyboardData)
     {
         ReceiveRawInputKeyboardData?.Invoke(keyboardData);
     }
 }