qmk_firmware

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

config.h (1707B)


      1 /*
      2 Copyright 2012 Jun Wako <wakojun@gmail.com>
      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 
     18 #pragma once
     19 
     20 
     21 /*
     22  * Frosty Flake Rev. 20140521 made by Bathroom Ephiphanies
     23  * Ported from the Bathroom Epiphanies TMK Firmware:
     24  * https://github.com/BathroomEpiphanies/epiphanies_tmk_keyboard/tree/master/be_controllers
     25  *
     26  */
     27 
     28 /* key matrix size */
     29 #define MATRIX_ROWS 8   // Row0 - Row7 in the schematic
     30 #define MATRIX_COLS 18  // ColA - ColR in the schematic
     31 
     32 /*
     33  * Keyboard Matrix Assignments
     34  *
     35  * MATRIX_ROW_PINS and MATRIX_COL_PINS aren't actually used and are included
     36  * for data driven compatibility.
     37  */
     38 #define MATRIX_ROW_PINS { C2, B3, B4, B2, B1, C7, B6, B5 }
     39 #define MATRIX_COL_PINS { NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
     40 
     41 /*
     42  * Feature disable options
     43  *  These options are also useful to firmware size reduction.
     44  */
     45 
     46 /* disable debug print */
     47 //#define NO_DEBUG
     48 
     49 /* disable print */
     50 //#define NO_PRINT
     51 
     52 /* disable action features */
     53 //#define NO_ACTION_LAYER
     54 //#define NO_ACTION_TAPPING
     55 //#define NO_ACTION_ONESHOT