summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-02-06 20:28:47 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-06 11:28:47 -0800
commitf1be0236b632b0a86e32a1f362cd1f9517a30c9a (patch)
tree88e9765bbe56a219f2086a29b1f0413f4213ca55 /keyboards
parent045400ab28ee6c4f5d714b632f765d54da883f6c (diff)
Remove unnecessary IS_COMMAND definitions from recently added keyboards (#5065)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/meishi/config.h5
-rw-r--r--keyboards/scarletbandana/config.h10
-rw-r--r--keyboards/sentraq/number_pad/config.h5
3 files changed, 1 insertions, 19 deletions
diff --git a/keyboards/meishi/config.h b/keyboards/meishi/config.h
index cbc22476dd..6c712e2ad1 100644
--- a/keyboards/meishi/config.h
+++ b/keyboards/meishi/config.h
@@ -104,11 +104,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-/* key combination for magic key command */
-#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
-)
-
/* control how magic key switches layers */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
diff --git a/keyboards/scarletbandana/config.h b/keyboards/scarletbandana/config.h
index 7716813dd4..74443b3f86 100644
--- a/keyboards/scarletbandana/config.h
+++ b/keyboards/scarletbandana/config.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
#include "config_common.h"
@@ -54,10 +53,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#define DEBOUNCING_DELAY 5
-
-/* key combination for command */
-#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
-)
-
-#endif
diff --git a/keyboards/sentraq/number_pad/config.h b/keyboards/sentraq/number_pad/config.h
index d52670c7da..0769f9f3d2 100644
--- a/keyboards/sentraq/number_pad/config.h
+++ b/keyboards/sentraq/number_pad/config.h
@@ -76,8 +76,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCING_DELAY 5
-
-/* key combination for magic key command */
-#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
-)