]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Allow HS60 to use Community Layouts (#3862)
authorDrashna Jaelre <drashna@live.com>
Thu, 6 Dec 2018 15:40:19 +0000 (07:40 -0800)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Thu, 6 Dec 2018 15:40:19 +0000 (07:40 -0800)
* Add layout support to HS60

* Update Readme for HS60

* Remove defective code

* Clean up readme

* Fix typo

keyboards/hs60/v1/keymaps/ansi/config.h
keyboards/hs60/v1/readme.md
keyboards/hs60/v1/rules.mk

index f51cc16d853625dd985177163d41b9eb250f149c..82cdc2689c6b4f43619f34001650bb017ed18185 100644 (file)
@@ -18,4 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* Include overwrites for specific keymap */
 
-#define HS60_ANSI
+#ifdef KEYBOARD_hs60
+  #define HS60_ANSI
+#endif
index a77bbc25ca185dbebe29f50e270a4f01184fd6f7..9034e9b8817692d31664a766fa77b75008be2e44 100644 (file)
@@ -9,7 +9,11 @@ Keyboard Maintainer: [Yiancar](http://yiancar-designs.com/) and on [github](http
 Hardware Supported: HS60 ISO and ANSI PCBs with Atmega 32u4   
 Hardware Availability: https://mechboards.co.uk/shop/all/hs60-pcb/   
 
-Due to the RGB implementation, the HS60 is currently not compatible with community layouts.
+If you're using the [community layouts feature](https://docs.qmk.fm/#/feature_layouts) and using the 60_ansi layout, you need to make sure that you include this on your config.h to ensure that the RGB Matrix is properly configured:
+
+    #ifdef KEYBOARD_hs60
+      #define HS60_ANSI
+    #endif
 
 Make example for this keyboard (after setting up your build environment):
 
index bff9659489bf2a946fd515a94536bd9a1d5a2cf3..29e91aa24ca26caeefbb3d87115fb06359ed780c 100644 (file)
@@ -69,6 +69,8 @@ AUDIO_ENABLE = no           # Audio output on port C6
 FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches
 RGB_MATRIX_ENABLE = yes     # Use RGB matrix
 
+LAYOUTS = 60_ansi 60_iso
+
 # Experimental features for zealcmd please do no enable
 #RAW_ENABLE = yes
 #USE_KEYMAPS_IN_EEPROM = yes