qmk/ferris/keymap.c

27 lines
1,009 B
C
Raw Normal View History

2022-11-08 19:24:51 +01:00
/* Copyright 2022 Christoph Cullmann
*
* 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
2023-08-06 16:08:31 +02:00
2024-03-02 14:55:58 +01:00
// Returns true if `pos` on the left hand of the keyboard, false if right.
static bool on_left_hand(keypos_t pos) {
// works not really on planck for bottom row, but we handle that differently
return pos.row < MATRIX_ROWS / 2;
}
2023-08-12 22:02:23 +02:00
// our shared 34 keys keymap
#include "../common/keymap.h"