qmk_firmware

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

config.h (1351B)


      1 /* Copyright 2017-2019 Nikolaus Wittenstein <nikolaus.wittenstein@gmail.com>
      2  *
      3  * Permission to use, copy, modify, and/or distribute this software for any
      4  * purpose with or without fee is hereby granted, provided that the above
      5  * copyright notice and this permission notice appear in all copies.
      6  *
      7  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
      8  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
      9  * FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
     10  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
     11  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
     12  * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
     13  * PERFORMANCE OF THIS SOFTWARE.
     14  */
     15 
     16 #pragma once
     17 
     18 
     19 /* key matrix size */
     20 #define MATRIX_ROWS 13
     21 #define MATRIX_COLS 4
     22 
     23 /*
     24  * Command/Windows key option
     25  *
     26  * If you define this, the thumb enter key becomes the Command/Windows key. There's still an enter key on the right
     27  * ring finger, so this key is much better utilized as the otherwise nonexistent Command key. I think some newer
     28  * DataHands let you remap right ring east as Command, but having it on the thumb is nicer. Comment out this define
     29  * to use the original layout.
     30  */
     31 #define DATAHAND_THUMB_RETURN_COMMAND