Remove unnecessary IS_COMMAND definitions from recently added keyboards (#5065)

pull/5058/head^2 0.6.271
Konstantin Đorđević 6 years ago committed by MechMerlin
parent 045400ab28
commit f1be0236b6

@ -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 */ /* control how magic key switches layers */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true

@ -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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef CONFIG_H #pragma once
#define CONFIG_H
#include "config_common.h" #include "config_common.h"
@ -54,10 +53,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif #endif
#define DEBOUNCING_DELAY 5 #define DEBOUNCING_DELAY 5
/* key combination for command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
#endif

@ -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 */ /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCING_DELAY 5 #define DEBOUNCING_DELAY 5
/* key combination for magic key command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)

@ -15,9 +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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef CONFIG_H #pragma once
#define CONFIG_H
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0xCAFE #define PRODUCT_ID 0xCAFE
@ -25,16 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MANUFACTURER t.m.k. #define MANUFACTURER t.m.k.
#define PRODUCT USB to USB keyboard converter #define PRODUCT USB to USB keyboard converter
#define DESCRIPTION Product from t.m.k. keyboard firmware project #define DESCRIPTION Product from t.m.k. keyboard firmware project
/* matrix size */ /* matrix size */
#define MATRIX_ROWS 32 #define MATRIX_ROWS 32
#define MATRIX_COLS 8 #define MATRIX_COLS 8
/* key combination for command */
#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
#endif

Loading…
Cancel
Save