// Path: cap1xxx/src/main/java/com/google/android/things/contrib/driver/cap1xxx/Cap1xxx.java
// public enum Configuration {
//     // Channel Count, Max Touch Inputs, LED Count
//     CAP1203(3,3,0),
//     CAP1293(3,3,0),
//     CAP1206(6,4,0),
//     CAP1296(6,4,0),
//     CAP1208(8,4,0),
//     CAP1298(8,4,0),
//     CAP1105(5,3,0),
//     CAP1106(6,4,0),
//     CAP1126(6,4,2),
//     CAP1128(8,4,2),
//     CAP1133(3,3,3),
//     CAP1166(6,4,6),
//     CAP1188(8,4,8);
// 
//     final int channelCount;
//     final int maxTouch;
//     final int ledCount;
//     Configuration(int channelCount, int maxTouch, int ledCount) {
//         this.channelCount = channelCount;
//         this.maxTouch = maxTouch;
//         this.ledCount = ledCount;
//     }
// }


import java.io.IOException;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNotNull;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.VisibleForTesting;
import android.util.Log;
import android.view.KeyEvent;
import com.google.android.things.contrib.driver.cap1xxx.Cap1xxx.Configuration;
import com.google.android.things.pio.I2cDevice;
import org.mockito.Mockito;
package com.google.android.things.contrib.driver.cap12xx;/*
 * Copyright 2017 Google Inc.
 *
 * 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.
 */







public class Cap12xxTestActivity extends Activity {

    private static final String TAG = "Cap1xxxTestActivity";

// Path: cap1xxx/src/main/java/com/google/android/things/contrib/driver/cap1xxx/Cap1xxx.java
// public enum Configuration {
//     // Channel Count, Max Touch Inputs, LED Count
//     CAP1203(3,3,0),
//     CAP1293(3,3,0),
//     CAP1206(6,4,0),
//     CAP1296(6,4,0),
//     CAP1208(8,4,0),
//     CAP1298(8,4,0),
//     CAP1105(5,3,0),
//     CAP1106(6,4,0),
//     CAP1126(6,4,2),
//     CAP1128(8,4,2),
//     CAP1133(3,3,3),
//     CAP1166(6,4,6),
//     CAP1188(8,4,8);
// 
//     final int channelCount;
//     final int maxTouch;
//     final int ledCount;
//     Configuration(int channelCount, int maxTouch, int ledCount) {
//         this.channelCount = channelCount;
//         this.maxTouch = maxTouch;
//         this.ledCount = ledCount;
//     }
// }


// Path: cap1xxx/src/androidTest/java/com/google/android/things/contrib/driver/cap1xxx/Cap1xxxTestActivity.java
import java.io.IOException;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNotNull;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.VisibleForTesting;
import android.util.Log;
import android.view.KeyEvent;
import com.google.android.things.contrib.driver.cap1xxx.Cap1xxx.Configuration;
import com.google.android.things.pio.I2cDevice;
import org.mockito.Mockito;

package com.google.android.things.contrib.driver.cap12xx;/*
 * Copyright 2017 Google Inc.
 *
 * 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.
 */







public class Cap12xxTestActivity extends Activity {

    private static final String TAG = "Cap1xxxTestActivity";

    static final Configuration CONFIGURATION = Configuration.CAP1208;