[Keyboard] Add Iris Rev 4 (#6660)

* Add Iris Rev. 4

* Fix EEPROM addresses
This commit is contained in:
Danny authored and Drashna Jaelre committed 2019-09-05 20:10:57 -07:00
1 parent 98599173d7
commit f0ad3fc68a
7 files changed
+156 -3

No files matched your search

@@ -112,3 +112,20 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
void encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
}
else if (index == 1) {
if (clockwise) {
tap_code(KC_PGDN);
} else {
tap_code(KC_PGUP);
}
}
}