qmk_firmware/keyboards/splitkb/kyria/keymaps/bbaserdem/rules.mk

30 lines
1 KiB
Makefile

# Copyright 2021 Batuhan Başerdem
# <baserdem.batuhan@gmail.com> @bbaserdem
#
# 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/>.
# Kyria hardware
ifneq (,$(findstring splitkb/kyria/rev1,$(KEYBOARD)))
# Elective features
ENCODER_ENABLE = yes
OLED_ENABLE = yes
# Nonexistent features
AUDIO_ENABLE = no
BACKLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
# Space savers
NKRO_ENABLE = no
VELOCIKEY_ENABLE = no
WPM_ENABLE = no
endif