diff options
Diffstat (limited to 'keyboards/kapcave/arya')
-rw-r--r-- | keyboards/kapcave/arya/arya.c | 10 | ||||
-rw-r--r-- | keyboards/kapcave/arya/config.h | 4 | ||||
-rw-r--r-- | keyboards/kapcave/arya/info.json | 9 |
3 files changed, 7 insertions, 16 deletions
diff --git a/keyboards/kapcave/arya/arya.c b/keyboards/kapcave/arya/arya.c index af5d19be4f..13cae06189 100644 --- a/keyboards/kapcave/arya/arya.c +++ b/keyboards/kapcave/arya/arya.c @@ -15,13 +15,3 @@ 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 "arya.h" - -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { return false; } - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - return true; -} diff --git a/keyboards/kapcave/arya/config.h b/keyboards/kapcave/arya/config.h index dd197f2338..282b98a978 100644 --- a/keyboards/kapcave/arya/config.h +++ b/keyboards/kapcave/arya/config.h @@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define MATRIX_COL_PINS { B0, B5, B4, B2, C13, F1, F0, A14} -#define MATRIX_ROW_PINS { B8, A13, B1, A15, B9, B10, B11, A0, A8 } -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/kapcave/arya/info.json b/keyboards/kapcave/arya/info.json index 54a1513f90..1bd9c188dd 100644 --- a/keyboards/kapcave/arya/info.json +++ b/keyboards/kapcave/arya/info.json @@ -8,6 +8,11 @@ "pid": "0x4152", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B0", "B5", "B4", "B2", "C13", "F1", "F0", "A14"], + "rows": ["B8", "A13", "B1", "A15", "B9", "B10", "B11", "A0", "A8"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B12", "pin_b": "B13", "resolution": 2}, @@ -38,7 +43,7 @@ {"x":15.75, "y":0.1}, {"x":16.75, "y":0.1}, - {"x":0.2, "y":1.0}, + {"x":0.2, "y":1}, {"x":1.35, "y":1.1, "w":1.5}, {"x":2.85, "y":1.1}, {"x":3.85, "y":1.1}, @@ -54,7 +59,7 @@ {"x":15.45, "y":1.1}, {"x":16.45, "y":1.1, "w":1.5}, - {"x":0, "y":2.0}, + {"x":0, "y":2}, {"x":1.15, "y":2.1, "w":1.75}, {"x":2.9, "y":2.1}, {"x":3.9, "y":2.1}, |