summaryrefslogtreecommitdiff
path: root/src/drivers/DriverTypeA.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/DriverTypeA.java')
-rw-r--r--src/drivers/DriverTypeA.java115
1 files changed, 115 insertions, 0 deletions
diff --git a/src/drivers/DriverTypeA.java b/src/drivers/DriverTypeA.java
new file mode 100644
index 0000000..37e8d4c
--- /dev/null
+++ b/src/drivers/DriverTypeA.java
@@ -0,0 +1,115 @@
+package org.manzerbredes.open_klm.drivers;
+
+/**
+ * Basic driver with basic functionalities.
+ *
+ * @author Manzerbredes
+ *
+ */
+public interface DriverTypeA{
+
+
+ /**
+ * Defined Region Helper
+ *
+ * @author Manzerbredes
+ *
+ */
+ public enum Region{
+ LEFT(1), MIDDLE(2), RIGHT(3);
+
+ private int current;
+
+ Region(int current){
+ this.current=current;
+ }
+
+ public int intValue(){
+ return this.current;
+ }
+ }
+
+ /**
+ * Defined Color Helper
+ *
+ * @author Manzerbredes
+ *
+ */
+ public enum Color{
+ OFF(0),RED(1),ORANGE(2),YELLOW(3),GREEN(4),SKY(5), BLUE(6),PURPLE(7),WHITE(8);
+
+ private int current;
+
+ Color(int current){
+ this.current=current;
+ }
+
+ public int intValue(){
+ return this.current;
+ }
+ }
+
+ /**
+ * Defined Level Helper
+ *
+ * @author Manzerbredes
+ *
+ */
+ public enum Intensity{
+ HIGH(0), MEDIUM(1), LOW(2), LIGHT(3);
+
+ private int current;
+
+ Intensity(int current){
+ this.current=current;
+ }
+
+ public int intValue(){
+ return this.current;
+ }
+ }
+
+ /**
+ * Defined Mode Helper
+ *
+ * @author Manzerbredes
+ *
+ */
+ public enum Mode{
+ NORMAL(1), GAMING(2), BREATHE(3), DEMO(4), WAVE(5);
+
+ private int current;
+
+ Mode(int current){
+ this.current=current;
+ }
+
+ public int intValue(){
+ return this.current;
+ }
+ }
+
+
+
+ /**
+ * Set color of the region
+ * @param region
+ * @param color
+ * @param intensity
+ */
+ public void setRegionColor(Region region, Color color, Intensity intensity);
+
+ /**
+ * Set global keyboard color
+ * @param color
+ * @param intensity
+ */
+ public void setColor(Color color, Intensity intensity);
+
+ /**
+ * Set keyboard mode
+ * @param mode
+ */
+ public void setMode(Mode mode);
+
+} \ No newline at end of file