diff --git a/src/client/MainWindow.java b/src/client/MainWindow.java index cd73757..b60b9ec 100644 --- a/src/client/MainWindow.java +++ b/src/client/MainWindow.java @@ -12,9 +12,8 @@ import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JPanel; -import org.manzerbredes.open_klm.drivers.BasicDriver; -import org.manzerbredes.open_klm.drivers.BasicDriver.*; -import org.manzerbredes.open_klm.drivers.Device_1770_ff00; +import org.manzerbredes.open_klm.drivers.DriverTypeA.*; +import org.manzerbredes.open_klm.drivers.*; public class MainWindow extends JFrame { @@ -24,7 +23,7 @@ public class MainWindow extends JFrame { private JComboBox right; private JButton apply=new JButton("Apply"); - private BasicDriver keyboard; + private DriverTypeA keyboard; public MainWindow() throws InstantiationException{ this.initUI(); diff --git a/src/drivers/Device_1770_ff00.java b/src/drivers/Device_1770_ff00.java index ec942d5..77ee461 100644 --- a/src/drivers/Device_1770_ff00.java +++ b/src/drivers/Device_1770_ff00.java @@ -14,7 +14,7 @@ import com.codeminders.hidapi.*; * @author Manzerbredes * */ -public class Device_1770_ff00 implements BasicDriver{ +public class Device_1770_ff00 implements DriverTypeA{ diff --git a/src/drivers/BasicDriver.java b/src/drivers/DriverTypeA.java similarity index 93% rename from src/drivers/BasicDriver.java rename to src/drivers/DriverTypeA.java index 9ec7c13..37e8d4c 100644 --- a/src/drivers/BasicDriver.java +++ b/src/drivers/DriverTypeA.java @@ -1,7 +1,12 @@ package org.manzerbredes.open_klm.drivers; - -public interface BasicDriver{ +/** + * Basic driver with basic functionalities. + * + * @author Manzerbredes + * + */ +public interface DriverTypeA{ /**