aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorSjB <steve@sagacity.ca>2017-01-23 22:01:33 -0500
committerSjB <steve@sagacity.ca>2017-01-23 23:15:31 -0500
commita777495683128fc56aa2d0081f27ff4c5c86d219 (patch)
treeb80f03ea5ddbe0be25127497854b47dc06a8c508 /keyboards
parent841d7e6a1d74b1fc45575ed551132ec27353ebf3 (diff)
downloadfirmware-a777495683128fc56aa2d0081f27ff4c5c86d219.tar.gz
firmware-a777495683128fc56aa2d0081f27ff4c5c86d219.tar.bz2
firmware-a777495683128fc56aa2d0081f27ff4c5c86d219.zip
fix: infinity60 keyboard was not using quantum features.
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.
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/infinity60/infinity60.c15
-rw-r--r--keyboards/infinity60/matrix.c3
2 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/infinity60/infinity60.c b/keyboards/infinity60/infinity60.c
index e471250fe..fdeed5124 100644
--- a/keyboards/infinity60/infinity60.c
+++ b/keyboards/infinity60/infinity60.c
@@ -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();
+}
+
diff --git a/keyboards/infinity60/matrix.c b/keyboards/infinity60/matrix.c
index d2f185288..b6ccf86c3 100644
--- a/keyboards/infinity60/matrix.c
+++ b/keyboards/infinity60/matrix.c
@@ -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;
}