Class KeyRecorder


  • public class KeyRecorder
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean[] keys  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyRecorder()  
    • Method Summary

      Modifier and Type Method Description
      boolean IsPressed​(char c)  
      boolean IsPressed​(int keyCode)  
      boolean KeyPress​(int keyCode)  
      boolean KeyRelease​(int keyCode)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • keys

        public final boolean[] keys
    • Constructor Detail

      • KeyRecorder

        public KeyRecorder()
    • Method Detail

      • KeyPress

        public boolean KeyPress​(int keyCode)
      • KeyRelease

        public boolean KeyRelease​(int keyCode)
      • IsPressed

        public boolean IsPressed​(int keyCode)
      • IsPressed

        public boolean IsPressed​(char c)