Explorar o código

Keyboard: Add HHKB layout support to the DO60 (#4526)

* add 60_hhkb support

* add qmk configurator support for the new 60_hhkb layout

* allow community layout support for the 60_hhkb

* fixup readme to adhere to new QMK standards
MechMerlin %!s(int64=6) %!d(string=hai) anos
pai
achega
1fd4546fff
Modificáronse 4 ficheiros con 25 adicións e 8 borrados
  1. 14 0
      keyboards/do60/do60.h
  2. 0 0
      keyboards/do60/info.json
  3. 10 7
      keyboards/do60/readme.md
  4. 1 1
      keyboards/do60/rules.mk

+ 14 - 0
keyboards/do60/do60.h

@@ -39,6 +39,20 @@ inline void setdefaultrgb(void){ rgblight_sethsv(100,100,100); }
     { K40,  K41,  K42,  KC_NO,KC_NO,K45,  K46,  K47,  KC_NO,KC_NO,K4A,  K4B,  K4C,  K4D,   K4E }  \
 }
 
+#define LAYOUT_60_hhkb( \
+      K00,  K01,  K02,  K03,  K04,  K05,  K06,  K07,  K08,  K09,  K0A,  K0B,  K0C,  K0D,  K0E, \
+      K10,  K11,  K12,  K13,  K14,  K15,  K16,  K17,  K18,  K19,  K1A,  K1B,  K1C,        K1E, \
+      K20,  K21,  K22,  K23,  K24,  K25,  K26,  K27,  K28,  K29,  K2A,  K2B,              K2E, \
+      K30,        K32,  K33,  K34,  K35,  K36,  K37,  K38,  K39,  K3A,  K3B,        K3D,  K3E, \
+            K41,  K42,                    K46,                    K4A,  K4B                    \
+) { \
+    { K00,   K01,   K02,  K03,   K04,   K05,   K06, K07,   K08,   K09,   K0A, K0B, K0C,   K0D,   K0E },  \
+    { K10,   K11,   K12,  K13,   K14,   K15,   K16, K17,   K18,   K19,   K1A, K1B, K1C,   KC_NO, K1E },  \
+    { K20,   K21,   K22,  K23,   K24,   K25,   K26, K27,   K28,   K29,   K2A, K2B, KC_NO, KC_NO, K2E },  \
+    { K30,   KC_NO, K32,  K33,   K34,   K35,   K36, K37,   K38,   K39,   K3A, K3B, KC_NO, K3D,   K3E },  \
+    { KC_NO, K41,   K42,  KC_NO, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, KC_NO, KC_NO, KC_NO } \
+}
+
 #define LAYOUT_60_ansi( \
       K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C,      K0E, \
       K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C,      K1E, \

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
keyboards/do60/info.json


+ 10 - 7
keyboards/do60/readme.md

@@ -1,11 +1,14 @@
-# QMK Firmware for DoyuStudio DO60 PCB
+# DoyuStudio DO60 PCB
 
+60% board supporting in-switch LEDs (two-pin, single colour)
+Build-in WS2182 RGB LED for underglow lighting.
 
-## Quantum MK Firmware
-For the full Quantum feature list, see [the parent readme.md](/readme.md).
+Keyboard Maintainer: QMK Community  
+Hardware Supported: Doyu Studios 60% PCB  
+Hardware Availability: [Doyustudio](https://shopkey.doyustudio.com/001pcb60)  
 
-Board supports in-switch LEDs (two-pin, single colour)
-Build-in WS2182 RGB LED for underglow lighting.
+Make example for this keyboard (after setting up your build environment):
+
+    make do60:default
 
-## Build
-To build the default keymap, simply run `make do60:default`.
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

+ 1 - 1
keyboards/do60/rules.mk

@@ -63,4 +63,4 @@ RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
 SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
 UNICODE_ENABLE = no         # Unicode
 
-LAYOUTS = 60_ansi 60_ansi_split_bs_rshift
+LAYOUTS = 60_ansi 60_hhkb 60_ansi_split_bs_rshift

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio