docs: public KeyEvent getKeyEvent() {
          synchronized (eventLock) {
              if (processedKeyEvent.isEmpty()) {
                  return null;
              } else {
                  return processedKeyEvent.get(processedKeyEvent.size() - 1);
              }
          }
      }