qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

config.h (1697B)


      1 /*
      2 Copyright 2023 3araht
      3 
      4 This program is free software: you can redistribute it and/or modify
      5 it under the terms of the GNU General Public License as published by
      6 the Free Software Foundation, either version 2 of the License, or
      7 (at your option) any later version.
      8 
      9 This program is distributed in the hope that it will be useful,
     10 but WITHOUT ANY WARRANTY; without even the implied warranty of
     11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12 GNU General Public License for more details.
     13 
     14 You should have received a copy of the GNU General Public License
     15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
     16 */
     17 #pragma once
     18 
     19 #define GIABARINAIX2
     20 #ifdef GIABARINAIX2
     21 #    undef MATRIX_ROW_PINS_RIGHT
     22 #    undef MATRIX_COL_PINS_RIGHT
     23 
     24 #    ifdef RGBLIGHT_ENABLE
     25 #        undef RGBLIGHT_LED_COUNT
     26 #        define RGBLIGHT_LED_COUNT 120
     27 #        undef RGBLIGHT_LED_MAP
     28 #        define RGBLIGHT_LED_MAP { \
     29            108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, \
     30            107, 106, 105, 104, 103, 102, 101, 100, 99,  98,  97,  96, \
     31            84,  85,  86,  87,  88,  89,  90,  91,  92,  93,  94,  95, \
     32            83,  82,  81,  80,  79,  78,  77,  76,  75,  74,  73,  72, \
     33            60,  61,  62,  63,  64,  65,  66,  67,  68,  69,  70,  71, \
     34            \
     35            11,  10,  9,   8,   7,   6,   5,   4,   3,   2,   1,   0,  \
     36            12,  13,  14,  15,  16,  17,  18,  19,  20,  21,  22,  23, \
     37            35,  34,  33,  32,  31,  30,  29,  28,  27,  26,  25,  24, \
     38            36,  37,  38,  39,  40,  41,  42,  43,  44,  45,  46,  47, \
     39            59,  58,  57,  56,  55,  54,  53,  52,  51,  50,  49,  48  \
     40            }
     41 #    endif
     42 #endif