aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_infinity
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-09-30 11:58:09 +0300
committerJack Humbert <jack.humb@gmail.com>2017-09-30 06:22:02 -1000
commit25285a1c5a634c6bb2c1a7b4ef4dc5d44ac1aea2 (patch)
tree1af6918578361f2e0e35857c0c35281d08585f9e /keyboards/ergodox_infinity
parentf1451b4b04bad7d618bbc7fe3517ab736f819d86 (diff)
downloadfirmware-25285a1c5a634c6bb2c1a7b4ef4dc5d44ac1aea2.tar.gz
firmware-25285a1c5a634c6bb2c1a7b4ef4dc5d44ac1aea2.tar.bz2
firmware-25285a1c5a634c6bb2c1a7b4ef4dc5d44ac1aea2.zip
Don't process keycodes on the slave
Diffstat (limited to 'keyboards/ergodox_infinity')
-rw-r--r--keyboards/ergodox_infinity/ergodox_infinity.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/ergodox_infinity/ergodox_infinity.c b/keyboards/ergodox_infinity/ergodox_infinity.c
index 05b2d7ce3..87e1b524b 100644
--- a/keyboards/ergodox_infinity/ergodox_infinity.c
+++ b/keyboards/ergodox_infinity/ergodox_infinity.c
@@ -126,6 +126,10 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
+bool is_keyboard_master(void) {
+ return is_serial_link_master();
+}
+
__attribute__ ((weak))
void ergodox_board_led_on(void){
}