From 4b33e625c75c8fae0674ec24802acd244858ce20 Mon Sep 17 00:00:00 2001 From: Simao Gomes Viana Date: Mon, 6 Mar 2017 17:06:02 +0100 Subject: xoshw: Initial import Change-Id: Idcff91d22e5148a4051546ce1f1295bcf4966b0d Signed-off-by: Simao Gomes Viana --- xoshw/ButtonBacklightControl.java | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 xoshw/ButtonBacklightControl.java (limited to 'xoshw/ButtonBacklightControl.java') 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 -- cgit v1.2.3