congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
LinuxEventDeviceTracker
Code IndexAdd Tabnine to your IDE (free)

How to use
LinuxEventDeviceTracker
in
jogamp.newt.driver.linux

Best Java code snippets using jogamp.newt.driver.linux.LinuxEventDeviceTracker (Showing top 4 results out of 315)

origin: ch.unibas.cs.gravis/scalismo-native-stub

public static void main(final String[] args ){
  System.setProperty("newt.debug.Window.KeyEvent", "true");
  LinuxEventDeviceTracker.getSingleton();
  try {
    while(true) {
      Thread.sleep(1000);
    }
  } catch (final InterruptedException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
  }
}
origin: org.jogamp.jogl/jogl-all-noawt

public static void main(final String[] args ){
  System.setProperty("newt.debug.Window.KeyEvent", "true");
  LinuxEventDeviceTracker.getSingleton();
  try {
    while(true) {
      Thread.sleep(1000);
    }
  } catch (final InterruptedException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
  }
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

public WindowDriver() {
  linuxMouseTracker = LinuxMouseTracker.getSingleton();
  linuxEventDeviceTracker = LinuxEventDeviceTracker.getSingleton();
  layer = -1;
  nativeWindowHandle = 0;
  windowHandleClose = 0;
}
origin: org.jogamp.jogl/jogl-all-noawt

public WindowDriver() {
  /* Try use X11 as input for bcm.vc.iv
   * if X11 fail to initialize then
   * track using the /dev/event files directly
   * using the LinuxMouseTracker
   */
  try{
    x11UnderlayTracker = X11UnderlayTracker.getSingleton();
    mouseTracker = x11UnderlayTracker;
    keyTracker = x11UnderlayTracker;
  } catch(final ExceptionInInitializerError e) {
    linuxMouseTracker = LinuxMouseTracker.getSingleton();
    linuxEventDeviceTracker = LinuxEventDeviceTracker.getSingleton();
    mouseTracker = linuxMouseTracker;
    keyTracker = linuxEventDeviceTracker;
  }
  layer = -1;
  nativeWindowHandle = 0;
  windowHandleClose = 0;
}
jogamp.newt.driver.linuxLinuxEventDeviceTracker

Javadoc

Experimental native event device tracker thread for GNU/Linux just reading /dev/input/event* within it's own polling thread.

Most used methods

  • getSingleton

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JOptionPane (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now