@Override
  public DataPacket execute() {

    LogUtils.log("pressed key " + keyCode);

    return null;
  }
Exemple #2
0
 public static void init(Configuration config) {
   Property propDebug = config.get(Configuration.CATEGORY_GENERAL, Reference.DEBUG, true);
   propDebug.comment = Comments.DEBUG;
   Redmagic.DEBUG = propDebug.getBoolean(true);
   if (Redmagic.DEBUG) {
     redLogger = LogManager.getLogger(Reference.MOD_ID);
     LogUtils.info("Initialise Debugging...");
   }
 }