aboutsummaryrefslogtreecommitdiff
path: root/xoshw/ButtonBacklightControl.java
diff options
context:
space:
mode:
authorSimao Gomes Viana <xdevs23@outlook.com>2017-03-06 17:06:02 +0100
committerdd3boh <dade.garberi@gmail.com>2017-07-15 14:55:57 +0200
commit4b33e625c75c8fae0674ec24802acd244858ce20 (patch)
tree5345cb377ef7fbf6f474fdb67c9c328b2fc765ca /xoshw/ButtonBacklightControl.java
parent83ed4d34bd62eab3417d70953626bd150dfbf71a (diff)
xoshw: Initial import
Change-Id: Idcff91d22e5148a4051546ce1f1295bcf4966b0d Signed-off-by: Simao Gomes Viana <xdevs23@outlook.com>
Diffstat (limited to 'xoshw/ButtonBacklightControl.java')
-rw-r--r--xoshw/ButtonBacklightControl.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/xoshw/ButtonBacklightControl.java b/xoshw/ButtonBacklightControl.java
new file mode 100644
index 0000000..f196a97
--- /dev/null
+++ b/xoshw/ButtonBacklightControl.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2016-2017 halogenOS
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.halogenos.hardware.buttons;
+
+import org.halogenos.hardware.buttons.IButtonBacklightControl;
+
+/**
+ * This class is supposed to control button backlight
+ */
+public class ButtonBacklightControl extends IButtonBacklightControl {
+
+ public ButtonBacklightControl() {
+ CONTROL_TYPE = CONTROL_TYPE_PARTIAL;
+ }
+
+} \ No newline at end of file