Package com.io7m.jcamera.examples.jogl

# Class ExampleFPSStyleKeyListener

java.lang.Object
com.io7m.jcamera.examples.jogl.ExampleFPSStyleKeyListener

All Implemented Interfaces:
  `com.jogamp.newt.event.KeyListener`, `com.jogamp.newt.event.NEWTEventListener`, `EventListener`

public final class ExampleFPSStyleKeyListener extends Object implements com.jogamp.newt.event.KeyListener
The key listener used to handle keyboard events.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExampleFPSStyleKeyListener(ExampleFPSStyleSimulationType in_sim, ExecutorService in_background_workers, ExampleRendererType in_renderer, com.jogamp.newt.opengl.GLWindow in_window)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `keyPressed(com.jogamp.newt.event.KeyEvent e)`
  `void`
  `keyReleased(com.jogamp.newt.event.KeyEvent e)`
  `void`
  `toggleCameraEnabled()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ExampleFPSStyleKeyListener

    public ExampleFPSStyleKeyListener(ExampleFPSStyleSimulationType in_sim, ExecutorService in_background_workers, ExampleRendererType in_renderer, com.jogamp.newt.opengl.GLWindow in_window)

- ## Method Details

  - ### keyPressed

    public void keyPressed(com.jogamp.newt.event.KeyEvent e)
    Specified by:
      `keyPressed` in interface `com.jogamp.newt.event.KeyListener`

  - ### keyReleased

    public void keyReleased(com.jogamp.newt.event.KeyEvent e)
    Specified by:
      `keyReleased` in interface `com.jogamp.newt.event.KeyListener`

  - ### toggleCameraEnabled

    public void toggleCameraEnabled()