Browse Source

Configurator fix for Org60 (#3231)

* Configurator fix

* Added LAYOUTS = 60_ansi to rules.mk
noroadsleft 7 years ago
parent
commit
ee700b2e83
3 changed files with 22 additions and 5 deletions
  1. 6 5
      keyboards/org60/info.json
  2. 14 0
      keyboards/org60/org60.h
  3. 2 0
      keyboards/org60/rules.mk

File diff suppressed because it is too large
+ 6 - 5
keyboards/org60/info.json


+ 14 - 0
keyboards/org60/org60.h

@@ -34,4 +34,18 @@ inline void org60_bl_led_off(void)   	{ DDRF &= ~(1<<5); PORTF &= ~(1<<5); }
     { K40,  K41,  K42,  KC_NO,KC_NO,K45,  KC_NO,K47,  K48,  K49,  K4A,  K4B,  K4C,  K4D }  \
 }
 
+#define LAYOUT_60_ansi( \
+      K00,  K01,  K02,  K03,  K04,  K05,  K06,  K07,  K08,  K09,  K0A,  K0B,  K0C,  K0D, \
+      K10,  K11,  K12,  K13,  K14,  K15,  K16,  K17,  K18,  K19,  K1A,  K1B,  K1C,  K1D, \
+      K20,  K21,  K22,  K23,  K24,  K25,  K26,  K27,  K28,  K29,  K2A,  K2B,        K2D, \
+      K30,        K32,  K33,  K34,  K35,  K36,  K37,  K38,  K39,  K3A,  K3B,        K3D, \
+      K40,  K41,  K42,              K45,                          K4A,  K4B,  K4C,  K4D  \
+) { \
+    { K00,  K01,  K02,  K03,  K04,  K05,  K06,  K07,  K08,  K09,  K0A,  K0B,  K0C,  K0D }, \
+    { K10,  K11,  K12,  K13,  K14,  K15,  K16,  K17,  K18,  K19,  K1A,  K1B,  K1C,  K1D }, \
+    { K20,  K21,  K22,  K23,  K24,  K25,  K26,  K27,  K28,  K29,  K2A,  K2B,  KC_NO,K2D }, \
+    { K30,  KC_NO,K32,  K33,  K34,  K35,  K36,  K37,  K38,  K39,  K3A,  K3B,  KC_NO,K3D }, \
+    { K40,  K41,  K42,  KC_NO,KC_NO,K45,  KC_NO,KC_NO,KC_NO,KC_NO,K4A,  K4B,  K4C,  K4D }  \
+}
+
 #endif

+ 2 - 0
keyboards/org60/rules.mk

@@ -62,3 +62,5 @@ NKRO_ENABLE = yes           # Nkey Rollover - if this doesn't work, see here: ht
 RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
 SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
 UNICODE_ENABLE = no         # Unicode
+
+LAYOUTS = 60_ansi

Some files were not shown because too many files changed in this diff