]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Adding initial Unsaver debug strobe map
authorJacob Alexander <triplehaata@gmail.com>
Tue, 19 Nov 2013 07:01:51 +0000 (02:01 -0500)
committerJacob Alexander <triplehaata@gmail.com>
Tue, 19 Nov 2013 07:01:51 +0000 (02:01 -0500)
Scan/avr-capsense/scan_loop.c

index 34d9eb45ad60cb9088106e0ee283399fa28c6d4e..260005b4f32d4cfd20a5d9585b0814be78f8b70d 100644 (file)
@@ -212,6 +212,7 @@ inline void scan_setup()
        // The single row ribbon connector Model Fs only have a max of 16 strobes
 //#define KISHSAVER_STROBE
 #define TERMINAL_6110668_STROBE
+//#define UNSAVER_STROBE
 #ifdef KISHSAVER_STROBE
        total_strobes = 10;
 
@@ -244,6 +245,23 @@ inline void scan_setup()
        strobe_map[13] = 13;
        strobe_map[14] = 14;
        strobe_map[15] = 15;
+#elif defined(UNSAVER_STROBE)
+       total_strobes = 14;
+
+       strobe_map[0] = 0;
+       strobe_map[1] = 1;
+       strobe_map[2] = 2;
+       strobe_map[3] = 3;
+       strobe_map[4] = 4;
+       strobe_map[5] = 5;
+       strobe_map[6] = 6;
+       strobe_map[7] = 7;
+       strobe_map[8] = 8;
+       strobe_map[9] = 9;
+       strobe_map[10] = 10;
+       strobe_map[11] = 11;
+       strobe_map[12] = 12;
+       strobe_map[13] = 13;
 #else
        // Strobe detection
        // TODO