@@ 0,0 1,98 @@
+/*
+ * Copyright 2023 KBDCraft
+ * Copyright 2023 Adophoxia <andyao1528@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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 "quantum.h"
+
+#ifdef RGB_MATRIX_ENABLE
+const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
+/* Refer to IS31 manual for these locations
+ * driver
+ * | R location
+ * | | G location
+ * | | | B location
+ * | | | | */
+ {0, CS14_SW1, CS13_SW1, CS15_SW1},
+ {0, CS14_SW2, CS13_SW2, CS15_SW2},
+ {0, CS14_SW3, CS13_SW3, CS15_SW3},
+ {0, CS14_SW4, CS13_SW4, CS15_SW4},
+ {0, CS14_SW5, CS13_SW5, CS15_SW5},
+ {0, CS14_SW6, CS13_SW6, CS15_SW6},
+ {0, CS14_SW7, CS13_SW7, CS15_SW7},
+ {0, CS32_SW1, CS31_SW1, CS33_SW1},
+ {0, CS32_SW2, CS31_SW2, CS33_SW2},
+ {0, CS32_SW3, CS31_SW3, CS33_SW3},
+ {0, CS32_SW4, CS31_SW4, CS33_SW4},
+ {0, CS32_SW5, CS31_SW5, CS33_SW5},
+ {0, CS32_SW6, CS31_SW6, CS33_SW6},
+ {0, CS32_SW7, CS31_SW7, CS33_SW7},
+
+ {0, CS23_SW1, CS24_SW1, CS22_SW1},
+ {0, CS23_SW2, CS24_SW2, CS22_SW2},
+ {0, CS23_SW3, CS24_SW3, CS22_SW3},
+ {0, CS23_SW4, CS24_SW4, CS22_SW4},
+ {0, CS23_SW5, CS24_SW5, CS22_SW5},
+ {0, CS23_SW6, CS24_SW6, CS22_SW6},
+ {0, CS23_SW7, CS24_SW7, CS22_SW7},
+ {0, CS35_SW1, CS34_SW1, CS36_SW1},
+ {0, CS35_SW2, CS34_SW2, CS36_SW2},
+ {0, CS35_SW3, CS34_SW3, CS36_SW3},
+ {0, CS35_SW4, CS34_SW4, CS36_SW4},
+ {0, CS35_SW5, CS34_SW5, CS36_SW5},
+ {0, CS35_SW6, CS34_SW6, CS36_SW6},
+ {0, CS35_SW7, CS34_SW7, CS36_SW7},
+
+ {0, CS17_SW1, CS16_SW1, CS18_SW1},
+ {0, CS17_SW2, CS16_SW2, CS18_SW2},
+ {0, CS17_SW3, CS16_SW3, CS18_SW3},
+ {0, CS17_SW4, CS16_SW4, CS18_SW4},
+ {0, CS17_SW5, CS16_SW5, CS18_SW5},
+ {0, CS17_SW6, CS16_SW6, CS18_SW6},
+ {0, CS17_SW7, CS16_SW7, CS18_SW7},
+ {0, CS26_SW1, CS25_SW1, CS27_SW1},
+ {0, CS26_SW2, CS25_SW2, CS27_SW2},
+ {0, CS26_SW3, CS25_SW3, CS27_SW3},
+ {0, CS26_SW4, CS25_SW4, CS27_SW4},
+ {0, CS26_SW5, CS25_SW5, CS27_SW5},
+ {0, CS26_SW7, CS25_SW7, CS27_SW7},
+
+ {0, CS20_SW1, CS19_SW1, CS21_SW1},
+ {0, CS20_SW2, CS19_SW2, CS21_SW2},
+ {0, CS20_SW3, CS19_SW3, CS21_SW3},
+ {0, CS20_SW4, CS19_SW4, CS21_SW4},
+ {0, CS20_SW5, CS19_SW5, CS21_SW5},
+ {0, CS20_SW6, CS19_SW6, CS21_SW6},
+ {0, CS20_SW7, CS19_SW7, CS21_SW7},
+ {0, CS29_SW1, CS28_SW1, CS30_SW1},
+ {0, CS29_SW2, CS28_SW2, CS30_SW2},
+ {0, CS29_SW3, CS28_SW3, CS30_SW3},
+ {0, CS29_SW4, CS28_SW4, CS30_SW4},
+ {0, CS29_SW5, CS28_SW5, CS30_SW5},
+ {0, CS29_SW6, CS28_SW6, CS30_SW6},
+ {0, CS29_SW7, CS28_SW7, CS30_SW7},
+
+ {0, CS9_SW1, CS10_SW1, CS8_SW1},
+ {0, CS9_SW2, CS10_SW2, CS8_SW2},
+ {0, CS9_SW3, CS10_SW3, CS8_SW3},
+ {0, CS9_SW6, CS10_SW6, CS8_SW6},
+ {0, CS2_SW3, CS1_SW3, CS3_SW3},
+ {0, CS2_SW4, CS1_SW4, CS3_SW4},
+ {0, CS2_SW5, CS1_SW5, CS3_SW5},
+ {0, CS2_SW6, CS1_SW6, CS3_SW6},
+ {0, CS2_SW7, CS1_SW7, CS3_SW7}
+};
+#endif
@@ 0,0 1,213 @@
+{
+
+ "keyboard_name": "Adam64",
+ "manufacturer": "KBDCRAFT",
+ "url": "https://kbdcraft.store/products/adam",
+ "maintainer": "KBDCraft",
+ "usb": {
+ "vid": "0x586A",
+ "pid": "0xB001",
+ "device_version": "0.0.1"
+ },
+ "processor": "STM32F401",
+ "bootloader": "stm32-dfu",
+ "diode_direction": "ROW2COL",
+ "matrix_pins": {
+ "rows": ["C8", "C9", "A8", "A10", "B14"],
+ "cols": ["B15", "C6", "C7", "A15", "B7", "C10", "C11", "C12", "D2", "B3", "B4", "B5", "A0", "A1"]
+ },
+ "features":{
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "nkro": true,
+ "console": false,
+ "command": false,
+ "rgb_matrix": true
+ },
+ "rgb_matrix":{
+ "driver": "IS31FL3741",
+ "max_brightness": 150,
+ "animations":{
+ "alphas_mods": true,
+ "gradient_up_down": true,
+ "gradient_left_right": true,
+ "breathing": true,
+ "band_sat": true,
+ "band_val": true,
+ "band_pinwheel_sat": true,
+ "band_pinwheel_val": true,
+ "band_spiral_sat": true,
+ "band_spiral_val": true,
+ "cycle_all": true,
+ "cycle_left_right": true,
+ "cycle_up_down": true,
+ "rainbow_moving_chevron": true,
+ "cycle_out_in": true,
+ "cycle_out_in_dual": true,
+ "cycle_pinwheel": true,
+ "cycle_spiral": true,
+ "dual_beacon": true,
+ "rainbow_beacon": true,
+ "rainbow_pinwheels": true,
+ "raindrops": true,
+ "jellybean_raindrops": true,
+ "hue_breathing": true,
+ "hue_pendulum": true,
+ "hue_wave": true,
+ "pixel_rain": true,
+ "pixel_flow": true,
+ "pixel_fractal": true,
+ "typing_heatmap": true,
+ "digital_rain": true,
+ "splash": true,
+ "multisplash": true,
+ "solid_splash": true,
+ "solid_multisplash": true
+ },
+ "layout": [
+ {"flags": 4, "matrix": [0, 0], "x": 0, "y": 0 },
+ {"flags": 4, "matrix": [0, 1], "x": 16, "y": 0 },
+ {"flags": 4, "matrix": [0, 2], "x": 32, "y": 0 },
+ {"flags": 4, "matrix": [0, 3], "x": 48, "y": 0 },
+ {"flags": 4, "matrix": [0, 4], "x": 64, "y": 0 },
+ {"flags": 4, "matrix": [0, 5], "x": 80, "y": 0 },
+ {"flags": 4, "matrix": [0, 6], "x": 96, "y": 0 },
+ {"flags": 4, "matrix": [0, 7], "x": 112, "y": 0 },
+ {"flags": 4, "matrix": [0, 8], "x": 128, "y": 0 },
+ {"flags": 4, "matrix": [0, 9], "x": 144, "y": 0 },
+ {"flags": 4, "matrix": [0, 10], "x": 160, "y": 0 },
+ {"flags": 4, "matrix": [0, 11], "x": 176, "y": 0 },
+ {"flags": 4, "matrix": [0, 12], "x": 192, "y": 0 },
+ {"flags": 4, "matrix": [0, 13], "x": 208, "y": 0 },
+
+ {"flags": 4, "matrix": [1, 0], "x": 0, "y": 10 },
+ {"flags": 4, "matrix": [1, 1], "x": 16, "y": 10 },
+ {"flags": 4, "matrix": [1, 2], "x": 32, "y": 10 },
+ {"flags": 4, "matrix": [1, 3], "x": 48, "y": 10 },
+ {"flags": 4, "matrix": [1, 4], "x": 64, "y": 10 },
+ {"flags": 4, "matrix": [1, 5], "x": 80, "y": 10 },
+ {"flags": 4, "matrix": [1, 6], "x": 96, "y": 10 },
+ {"flags": 4, "matrix": [1, 7], "x": 112, "y": 10 },
+ {"flags": 4, "matrix": [1, 8], "x": 128, "y": 10 },
+ {"flags": 4, "matrix": [1, 9], "x": 144, "y": 10 },
+ {"flags": 4, "matrix": [1, 10], "x": 160, "y": 10 },
+ {"flags": 4, "matrix": [1, 11], "x": 176, "y": 10 },
+ {"flags": 4, "matrix": [1, 12], "x": 192, "y": 10 },
+ {"flags": 4, "matrix": [1, 13], "x": 208, "y": 10 },
+
+ {"flags": 4, "matrix": [2, 0], "x": 0, "y": 20 },
+ {"flags": 4, "matrix": [2, 1], "x": 16, "y": 20 },
+ {"flags": 4, "matrix": [2, 2], "x": 32, "y": 20 },
+ {"flags": 4, "matrix": [2, 3], "x": 48, "y": 20 },
+ {"flags": 4, "matrix": [2, 4], "x": 64, "y": 20 },
+ {"flags": 4, "matrix": [2, 5], "x": 80, "y": 20 },
+ {"flags": 4, "matrix": [2, 6], "x": 96, "y": 20 },
+ {"flags": 4, "matrix": [2, 7], "x": 112, "y": 20 },
+ {"flags": 4, "matrix": [2, 8], "x": 128, "y": 20 },
+ {"flags": 4, "matrix": [2, 9], "x": 144, "y": 20 },
+ {"flags": 4, "matrix": [2, 10], "x": 160, "y": 20 },
+ {"flags": 4, "matrix": [2, 11], "x": 176, "y": 20 },
+ {"flags": 4, "matrix": [2, 13], "x": 208, "y": 20 },
+
+ {"flags": 4, "matrix": [3, 0], "x": 0, "y": 30 },
+ {"flags": 4, "matrix": [3, 1], "x": 16, "y": 30 },
+ {"flags": 4, "matrix": [3, 2], "x": 32, "y": 30 },
+ {"flags": 4, "matrix": [3, 3], "x": 48, "y": 30 },
+ {"flags": 4, "matrix": [3, 4], "x": 64, "y": 30 },
+ {"flags": 4, "matrix": [3, 5], "x": 80, "y": 30 },
+ {"flags": 4, "matrix": [3, 6], "x": 96, "y": 30 },
+ {"flags": 4, "matrix": [3, 7], "x": 112, "y": 30 },
+ {"flags": 4, "matrix": [3, 8], "x": 128, "y": 30 },
+ {"flags": 4, "matrix": [3, 9], "x": 144, "y": 30 },
+ {"flags": 4, "matrix": [3, 10], "x": 160, "y": 30 },
+ {"flags": 4, "matrix": [3, 11], "x": 176, "y": 30 },
+ {"flags": 4, "matrix": [3, 12], "x": 192, "y": 30 },
+ {"flags": 4, "matrix": [3, 13], "x": 208, "y": 30 },
+
+ {"flags": 4, "matrix": [4, 0], "x": 0, "y": 40 },
+ {"flags": 4, "matrix": [4, 1], "x": 16, "y": 40 },
+ {"flags": 4, "matrix": [4, 2], "x": 32, "y": 40 },
+ {"flags": 4, "matrix": [4, 5], "x": 80, "y": 40 },
+ {"flags": 4, "matrix": [4, 9], "x": 144, "y": 40 },
+ {"flags": 4, "matrix": [4, 10], "x": 160, "y": 40 },
+ {"flags": 4, "matrix": [4, 11], "x": 176, "y": 40 },
+ {"flags": 4, "matrix": [4, 12], "x": 192, "y": 40 },
+ {"flags": 4, "matrix": [4, 13], "x": 208, "y": 40 }
+ ]
+ },
+ "layouts": {
+ "LAYOUT_64_ansi": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0 },
+ { "matrix": [0, 1], "x": 1, "y": 0 },
+ { "matrix": [0, 2], "x": 2, "y": 0 },
+ { "matrix": [0, 3], "x": 3, "y": 0 },
+ { "matrix": [0, 4], "x": 4, "y": 0 },
+ { "matrix": [0, 5], "x": 5, "y": 0 },
+ { "matrix": [0, 6], "x": 6, "y": 0 },
+ { "matrix": [0, 7], "x": 7, "y": 0 },
+ { "matrix": [0, 8], "x": 8, "y": 0 },
+ { "matrix": [0, 9], "x": 9, "y": 0 },
+ { "matrix": [0, 10], "x": 10, "y": 0 },
+ { "matrix": [0, 11], "x": 11, "y": 0 },
+ { "matrix": [0, 12], "x": 12, "y": 0 },
+ { "matrix": [0, 13], "w": 2, "x": 13, "y": 0 },
+
+ { "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1 },
+ { "matrix": [1, 1], "x": 1.5, "y": 1 },
+ { "matrix": [1, 2], "x": 2.5, "y": 1 },
+ { "matrix": [1, 3], "x": 3.5, "y": 1 },
+ { "matrix": [1, 4], "x": 4.5, "y": 1 },
+ { "matrix": [1, 5], "x": 5.5, "y": 1 },
+ { "matrix": [1, 6], "x": 6.5, "y": 1 },
+ { "matrix": [1, 7], "x": 7.5, "y": 1 },
+ { "matrix": [1, 8], "x": 8.5, "y": 1 },
+ { "matrix": [1, 9], "x": 9.5, "y": 1 },
+ { "matrix": [1, 10], "x": 10.5, "y": 1 },
+ { "matrix": [1, 11], "x": 11.5, "y": 1 },
+ { "matrix": [1, 12], "x": 12.5, "y": 1 },
+ { "matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1 },
+
+ { "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2 },
+ { "matrix": [2, 1], "x": 1.75, "y": 2 },
+ { "matrix": [2, 2], "x": 2.75, "y": 2 },
+ { "matrix": [2, 3], "x": 3.75, "y": 2 },
+ { "matrix": [2, 4], "x": 4.75, "y": 2 },
+ { "matrix": [2, 5], "x": 5.75, "y": 2 },
+ { "matrix": [2, 6], "x": 6.75, "y": 2 },
+ { "matrix": [2, 7], "x": 7.75, "y": 2 },
+ { "matrix": [2, 8], "x": 8.75, "y": 2 },
+ { "matrix": [2, 9], "x": 9.75, "y": 2 },
+ { "matrix": [2, 10], "x": 10.75, "y": 2 },
+ { "matrix": [2, 11], "x": 11.75, "y": 2 },
+ { "matrix": [2, 13], "w": 2.25, "x": 12.75, "y": 2 },
+
+ { "matrix": [3, 0], "w": 2, "x": 0, "y": 3 },
+ { "matrix": [3, 1], "x": 2, "y": 3 },
+ { "matrix": [3, 2], "x": 3, "y": 3 },
+ { "matrix": [3, 3], "x": 4, "y": 3 },
+ { "matrix": [3, 4], "x": 5, "y": 3 },
+ { "matrix": [3, 5], "x": 6, "y": 3 },
+ { "matrix": [3, 6], "x": 7, "y": 3 },
+ { "matrix": [3, 7], "x": 8, "y": 3 },
+ { "matrix": [3, 8], "x": 9, "y": 3 },
+ { "matrix": [3, 9], "x": 10, "y": 3 },
+ { "matrix": [3, 10], "x": 11, "y": 3 },
+ { "matrix": [3, 11], "x": 12, "y": 3 },
+ { "matrix": [3, 12], "x": 13, "y": 3 },
+ { "matrix": [3, 13], "x": 14, "y": 3 },
+
+ { "matrix": [4, 0], "w": 1.25, "x": 0, "y": 4 },
+ { "matrix": [4, 1], "w": 1.25, "x": 1.25, "y": 4 },
+ { "matrix": [4, 2], "w": 1.25, "x": 2.5, "y": 4 },
+ { "matrix": [4, 5], "w": 6.25, "x": 3.75, "y": 4 },
+ { "matrix": [4, 9], "x": 10, "y": 4 },
+ { "matrix": [4, 10], "x": 11, "y": 4 },
+ { "matrix": [4, 11], "x": 12, "y": 4 },
+ { "matrix": [4, 12], "x": 13, "y": 4 },
+ { "matrix": [4, 13], "x": 14, "y": 4 }
+ ]
+ }
+ }
+}<
\ No newline at end of file
@@ 0,0 1,37 @@
+/*
+ * Copyright 2023 KBDCraft
+ * Copyright 2023 Adophoxia <andyao1528@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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 QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_64_ansi(
+ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
+ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL,
+ KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
+ ),
+
+ [1] = LAYOUT_64_ansi(
+ KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
+ KC_NO, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_MOD, KC_PSCR, KC_SCRL, KC_PAUS, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_SPI, RGB_SPD, KC_HOME, KC_PGUP, EE_CLR,
+ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, NK_TOGG, KC_NO, KC_NO, KC_INS, KC_END, KC_PGDN, KC_VOLU, KC_MUTE,
+ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, RGB_MOD, KC_VOLD, RGB_TOG
+ )
+};
@@ 0,0 1,37 @@
+/*
+ * Copyright 2023 KBDCraft
+ * Copyright 2023 Adophoxia <andyao1528@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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 QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_64_ansi(
+ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
+ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL,
+ KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
+ ),
+
+ [1] = LAYOUT_64_ansi(
+ KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
+ _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_MOD, KC_PSCR, KC_SCRL, KC_PAUS, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPI, RGB_SPD, KC_HOME, KC_PGUP, EE_CLR,
+ _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, KC_INS, KC_END, KC_PGDN, KC_VOLU, KC_MUTE,
+ _______, _______, _______, _______, _______, _______, RGB_MOD, KC_VOLD, RGB_TOG
+ )
+};