Browse Source

Update encoder functions for Iris VIA keymap (#8295)

pull/8220/head
Danny 4 years ago
committed by GitHub
parent
commit
ce30cd2a01
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions
  1. +7
    -0
      keyboards/keebio/iris/keymaps/via/keymap.c
  2. +0
    -1
      keyboards/keebio/iris/rev4/rev4.h

+ 7
- 0
keyboards/keebio/iris/keymaps/via/keymap.c View File

@ -68,6 +68,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
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 {


+ 0
- 1
keyboards/keebio/iris/rev4/rev4.h View File

@ -3,7 +3,6 @@
#include "iris.h"
#include "quantum.h"
#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__


Loading…
Cancel
Save