public boolean isDelete(Input input) { if (input == PCKeyFactory.getInstance().DEL) { return true; } else { return false; } }
public void init() throws Exception { LogUtil.put(LogFactory.getInstance("Start", this, "init")); PCKeyFactory.getInstance(); super.init(); if (this.getTotalMapped() == 0 || this.isDefaultNew()) { this.getInputMapping().add(this.getDefault()); this.save(); } }
public void init() throws Exception { LogUtil.put(LogFactory.getInstance("Start", this, "init")); PCKeyFactory.getInstance(); TouchMotionGestureFactory.getInstance(); TrackballMotionGestureFactory.getInstance(); // OrientationMotionGestureFactory.getInstance(); BasicTouchInputFactory.getInstance(); super.init(); if (this.getTotalMapped() == 0 || this.isDefaultNew()) { this.getInputMapping().add(this.getDefault()); this.save(); } }