fix: infinity60 keyboard was not using quantum features.
authorSjB <steve@sagacity.ca>
Tue, 24 Jan 2017 03:01:33 +0000 (22:01 -0500)
committerSjB <steve@sagacity.ca>
Tue, 24 Jan 2017 04:15:31 +0000 (23:15 -0500)
the quantum matrix codes where not being initialized or/and called
so no feature of the quantum firmware could be used. These codes have
been added and now we can enjoy the quantum firmware goodness.

keyboards/infinity60/infinity60.c
keyboards/infinity60/matrix.c

index e471250febbd1dc67749179c5647a0487e92ecf8..fdeed5124d1a0f46067a790d5b847e96a8f6831b 100644 (file)
@@ -15,3 +15,18 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 #include "infinity60.h"
+
+void matrix_init_kb(void) {
+       // put your keyboard start-up code here
+       // runs once when the firmware starts up
+
+       matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+       // put your looping keyboard code here
+       // runs every cycle (a lot)
+
+       matrix_scan_user();
+}
+
index d2f1852885dfc0b92b40c1a79288743974f3abde..b6ccf86c3a74e7ab130a3aad59e7668d344e9b4c 100644 (file)
@@ -62,6 +62,8 @@ void matrix_init(void)
 #endif
     memset(matrix, 0, MATRIX_ROWS);
     memset(matrix_debouncing, 0, MATRIX_ROWS);
+
+    matrix_init_quantum();
 }
 
 uint8_t matrix_scan(void)
@@ -146,6 +148,7 @@ uint8_t matrix_scan(void)
         }
         debouncing = false;
     }
+    matrix_scan_quantum();
     return 1;
 }