Examples of openDevice()


Examples of de.dfki.km.text20.services.trackingdevices.brain.BrainTrackingDeviceProvider.openDevice()

        }

        this.logger.info("Device found, opening connection to " + trackerConnection);

        // Now open the device
        this.brainTrackingDevice = deviceProvider.openDevice(trackerConnection);

        // If opening the device didn't work and we have autodetection, use the mouse
        if (this.brainTrackingDevice == null) {
            this.logger.info("Device did not open. No brainz today.");
            return;
View Full Code Here

Examples of de.dfki.km.text20.services.trackingdevices.eyes.EyeTrackingDeviceProvider.openDevice()

        }

        this.logger.info("Device found, opening connection to " + trackerConnection);

        // Now open the device
        this.eyeTrackingDevice = deviceProvider.openDevice(trackerConnection);

        // If opening the device didn't work and we have autodetection, use the mouse
        if (this.eyeTrackingDevice == null && autoDetection) {

            this.logger.info("Device did not open. Trying mouse.");
View Full Code Here

Examples of de.dfki.km.text20.services.trackingdevices.eyes.EyeTrackingDeviceProvider.openDevice()

                this.logger.warning("Still no tracking device found for " + deviceSelector + ". This is really bad.");
                return;
            }

            // Now open the fallback device
            this.eyeTrackingDevice = deviceProvider.openDevice(trackerConnection);

            // Bad luck today.
            if (this.eyeTrackingDevice == null) {
                this.logger.warning("No device found. This is terminal.");
                return;
View Full Code Here

Examples of net.djpowell.lcdjni.LcdConnection.openDevice()

  public void init() {
    try {
      LcdConnection con = new LcdConnection("G15LastfmPlayer", true,
          AppletCapability.getCaps(AppletCapability.BW), this, this);

      LcdDevice device = con.openDevice(DeviceType.BW, new G15KeysImplementationView(controller));
      LcdMonoBitmap bmp = device.createMonoBitmap(PixelColor.G15_REV_1);
      musicScroll.drawMainScreen(bmp.getGraphics());
      statusScroll.drawStatusMessage(bmp.getGraphics());
      bmp.updateScreen(Priority.ALERT, SyncType.SYNC);
      device.setForeground(true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.