]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/handwired/onekey/config.h
[Keyboard] Refactor of onekey to support multiple development boards (#6017)
[qmk_firmware.git] / keyboards / handwired / onekey / config.h
index c0a6b5839214910bf5c1fb6f7caf9a76392ee534..6f7ec1289faf605677b7edec94470297d4d8e6c2 100644 (file)
@@ -15,14 +15,11 @@ 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
-
-#include "config_common.h"
+#pragma once
 
 /* USB Device descriptor parameter */
 #define VENDOR_ID       0xFEED
-#define PRODUCT_ID      0x6464
+#define PRODUCT_ID      0x6465
 #define DEVICE_VER      0x0001
 #define MANUFACTURER    none
 #define PRODUCT         onekey
@@ -32,10 +29,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define MATRIX_ROWS 1
 #define MATRIX_COLS 1
 
-#define MATRIX_COL_PINS {  B0 }
-#define MATRIX_ROW_PINS {  D0 }
-#define UNUSED_PINS
-
 /* define if matrix has ghost */
 //#define MATRIX_HAS_GHOST
 
@@ -47,13 +40,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* Locking resynchronize hack */
 #define LOCKING_RESYNC_ENABLE
 
-/* key combination for command */
-#define IS_COMMAND() ( \
-    keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
-)
-
-
-
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.
@@ -71,5 +57,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_ONESHOT
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
-
-#endif