Beispiel #1
0
 private void sendMessage(object o)
 {
     if (HNStruct.globalInfo.bOpenedTablet || !USB.hasConnectedDevice())
     {
         return;
     }
     MiddleModule.SendMessage((object)this, (object)HNStruct.globalInfo.bOpenedTablet);
 }
Beispiel #2
0
 public static void USBEventHandler(object sender, EventArrivedEventArgs e)
 {
     if (!USB.isConnectionEvent(e) || !USB.isHNTabletDevice(e))
     {
         return;
     }
     HuionLog.printSaveLog("usb event", "Huion device was connected");
     int num = HNStruct.globalInfo.bOpenedTablet ? 1 : 0;
 }